• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Shared libraries trouble

Business_Woman

Active Member

Thanks: 6
Messages: 149

#1
Hi,

I'm having some troubles with Acroread and shared libraries.
whenever i try to start acroread i get the message "error while loading shared libraries: libX11.so.6 no such file or directory"

but the file _does_ exist.
locate libX11.so.6 gives
/usr/local/lib/libX11.so.6
and /usr/compat/linux/usr/X11R6/lib/libX11.so.6

How do i find out which library the program tries to load?

/Best regards Business_Woman
 

DutchDaemon

Administrator
Staff member
Administrator
Moderator
Developer

Thanks: 2,621
Messages: 11,217

#2
locate may give outdated information, try (using ls) if these files actually still exist.
 

s-tlk

New Member

Thanks: 3
Messages: 16

#3
Business_Woman said:
How do i find out which library the program tries to load?
I guess you wanna know something like this:

$ ldd `which acroread`

Are you sure your ports are up to date? Sometimes a rebuild of acroread and the depended libs, in this case I suppose it is linux-xorg-libs solves the problem.
 

Carpetsmoker

Daemon

Thanks: 180
Messages: 1,010

#4
$ ldd `which acroread`
Won't work, acroread is a shell scipt, the real acrobat binary is /usr/local/Adobe/reader8/ENU/Adobe/Reader8/Reader/intellinux/bin

An ldd gives: ELF binary type "0" not known. (Got that from another forum :D )
 

s-tlk

New Member

Thanks: 3
Messages: 16

#5
Carpetsmoker said:
Won't work, acroread is a shell scipt, the real acrobat binary is /usr/local/Adobe/reader8/ENU/Adobe/Reader8/Reader/intellinux/bin

An ldd gives: ELF binary type "0" not known. (Got that from another forum :D )
Oh, sry I didn't know, it is a shell script. I don't use acroread at all.

But maybe my suggestion helps to solve this problem.
 
Top