[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: LD_LIBRARY_PATH ; to set or not to set....



James Pifer wrote:
The .so and .so.28 files should both probably be links to the so.28.0 files. Try removing the .so and .so.28 files and re-running ldconfig.

Paul.


When I do that the symlinks are created and ldconfig -p seems to have
them in there. I end up with this in /usr/local/lib/ar63:
-rwxr-xr-x  1 root root 3202324 May 17 08:17 libar.a
lrwxrwxrwx  1 root root      20 May 17 10:34 libicudata28.so.28 -> libicudata28.so.28.0
-rw-r--r--  1 root root 8278341 May 17 08:28 libicudata28.so.28.0
lrwxrwxrwx  1 root root      20 May 17 10:34 libicui18n28.so.28 -> libicui18n28.so.28.0
-rw-r--r--  1 root root 1476170 May 17 08:30 libicui18n28.so.28.0
lrwxrwxrwx  1 root root      18 May 17 10:34 libicuio28.so.28 -> libicuio28.so.28.0
-rw-r--r--  1 root root   47104 May 17 08:30 libicuio28.so.28.0
lrwxrwxrwx  1 root root      18 May 17 10:34 libicule28.so.28 -> libicule28.so.28.0
-rw-r--r--  1 root root  196612 May 17 08:30 libicule28.so.28.0
lrwxrwxrwx  1 root root      18 May 17 10:34 libiculx28.so.28 -> libiculx28.so.28.0
-rw-r--r--  1 root root   48041 May 17 08:30 libiculx28.so.28.0
lrwxrwxrwx  1 root root      24 May 17 10:34 libicutoolutil28.so.28 -> libicutoolutil28.so.28.0
-rw-r--r--  1 root root   63300 May 17 08:30 libicutoolutil28.so.28.0
lrwxrwxrwx  1 root root      18 May 17 10:34 libicuuc28.so.28 -> libicuuc28.so.28.0
-rw-r--r--  1 root root 1025599 May 17 08:31 libicuuc28.so.28.0

I've restarted the application service but it still complains about the
missing library.
So as a test I opened a terminal window, stopped the service, manually
set LD_LIBRARY_PATH=/usr/local/lib/ar63;export LD_LIBRARY_PATH, then ran
the application in the terminal window and not as a service. Still
didn't work!

So, then I copied all the original .so and .so.28 back into that
directory, restarted the application, and it works again. I currently have this in /usr/local/lib/ar63:
-rwxr-xr-x  1 root root 3202324 May 17 08:17 libar.a
-rwxr-xr-x  1 root root 4060096 May 17 11:27 libarjni63.so
-rwxr-xr-x  1 root root 2445439 May 17 11:27 libar.so
-rwxr-xr-x  1 root root  376230 May 17 11:27 libarutiljni63.so
-rwxr-xr-x  1 root root 5964473 May 17 11:27 libarxmlutil.so
-rw-r--r--  1 root root 8278341 May 17 11:27 libicudata28.so
lrwxrwxrwx  1 root root      20 May 17 10:34 libicudata28.so.28 -> libicudata28.so.28.0
-rw-r--r--  1 root root 8278341 May 17 11:28 libicudata28.so.28.0
-rw-r--r--  1 root root 1476170 May 17 11:28 libicui18n28.so
lrwxrwxrwx  1 root root      20 May 17 10:34 libicui18n28.so.28 -> libicui18n28.so.28.0
-rw-r--r--  1 root root 1476170 May 17 11:28 libicui18n28.so.28.0
-rw-r--r--  1 root root   47104 May 17 11:28 libicuio28.so
lrwxrwxrwx  1 root root      18 May 17 10:34 libicuio28.so.28 -> libicuio28.so.28.0
-rw-r--r--  1 root root   47104 May 17 11:28 libicuio28.so.28.0
-rw-r--r--  1 root root  196612 May 17 11:28 libicule28.so
lrwxrwxrwx  1 root root      18 May 17 10:34 libicule28.so.28 -> libicule28.so.28.0
-rw-r--r--  1 root root  196612 May 17 11:28 libicule28.so.28.0
-rw-r--r--  1 root root   48041 May 17 11:28 libiculx28.so
lrwxrwxrwx  1 root root      18 May 17 10:34 libiculx28.so.28 -> libiculx28.so.28.0
-rw-r--r--  1 root root   48041 May 17 11:28 libiculx28.so.28.0
-rw-r--r--  1 root root   63300 May 17 11:28 libicutoolutil28.so
lrwxrwxrwx  1 root root      24 May 17 10:34 libicutoolutil28.so.28 -> libicutoolutil28.so.28.0
-rw-r--r--  1 root root   63300 May 17 11:28 libicutoolutil28.so.28.0
-rw-r--r--  1 root root 1025599 May 17 11:28 libicuuc28.so
lrwxrwxrwx  1 root root      18 May 17 10:34 libicuuc28.so.28 -> libicuuc28.so.28.0
-rw-r--r--  1 root root 1025599 May 17 11:28 libicuuc28.so.28.0
-rwxr-xr-x  1 root root  637233 May 17 11:28 libjlicapi63.so

Any ideas on what I'm still doing incorrectly?

You'll probably need to make the .so -> .so.28.0 links manually.

Paul.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]