LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Not a symbolic link ?? (https://www.linuxquestions.org/questions/linux-newbie-8/not-a-symbolic-link-458897/)

attockonian 06-27-2006 04:05 PM

Not a symbolic link ??
 
Can somebody tell me what is meant by the following message:


/sbin/ldconfig: /usr/local/lib/libsane-hpaio.so.1 is not a symbolic link

/sbin/ldconfig: /usr/local/lib/libhpip.so.0 is not a symbolic link


I get this message when i try to install the any package.

pljvaldez 06-27-2006 04:16 PM

My guess is that those need to be symbolic links to something else (my guess is to libsane-hpaio.so and libhpip.so).

Did you go to /usr/local/lib and ls -F to see if those files exist and if they're symbolic links or not?

attockonian 06-27-2006 07:54 PM

This is what I got

# /usr/local/lib# ls -alF
total 2397
drwxr-xr-x 2 root root 320 2006-06-27 17:59 ./
drwxr-xr-x 14 root root 336 2006-05-18 01:01 ../
-rwxr-xr-x 1 root root 842 2006-06-27 17:59 libhpip.la*
-rwxr-xr-x 1 root root 456838 2006-06-27 17:59 libhpip.so*
-rwxr-xr-x 1 root root 456838 2006-06-27 17:59 libhpip.so.0*
-rwxr-xr-x 1 root root 456838 2006-06-27 17:59 libhpip.so.0.0.1*
-rwxr-xr-x 1 root root 927 2006-06-27 17:59 libsane-hpaio.la*
-rwxr-xr-x 1 root root 356025 2006-06-27 17:59 libsane-hpaio.so*
-rwxr-xr-x 1 root root 356025 2006-06-27 17:59 libsane-hpaio.so.1*
-rwxr-xr-x 1 root root 356025 2006-06-27 17:59 libsane-hpaio.so.1.0.0*


As those files are executable I tried running them, and this is what i got.

# /usr/local/lib# ./libsane-hpaio.so
# root@aTTock:/usr/local/lib# ./libsane-hpaio.so.1
Segmentation fault

I can still install packages. Does it matter If I am getting this message ?

pljvaldez 06-27-2006 07:58 PM

I just read that those are temporary files probably from when something crashed. I would mv the two you got errors for (libsane-hpaio.so.1 & /usr/local/lib/libhpip.so.0) and they should get recreated as symbolic links. Another thread I found online said you could just delete them, but I'd rather move them and be able to restore them if needed.

attockonian 06-30-2006 08:09 PM

I mv'ed the files, and the problem is solved.

Thanks for your help, pljvaldez ~


All times are GMT -5. The time now is 07:21 AM.