DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th November 2008
Business_woman's Avatar
Business_woman Business_woman is offline
lieutenant
 
Join Date: May 2008
Posts: 45
Default shared libraries and linux emulation

Hi,

After attempting to get flash working i somehow managed to break acroread. I get a 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

any way of finding out which library the program tries to load?
__________________
I like cookies...
Reply With Quote
  #2   (View Single Post)  
Old 15th November 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Default

Try "ldd /path/to/acroread" and see what the output says.
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote
  #3   (View Single Post)  
Old 15th November 2008
Business_woman's Avatar
Business_woman Business_woman is offline
lieutenant
 
Join Date: May 2008
Posts: 45
Default

Hi,

ldd /usr/local/bin/acroread8: Not a dynamic executable

=/
__________________
I like cookies...
Reply With Quote
  #4   (View Single Post)  
Old 15th November 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

ask file what it is, it's probably a shell script.


In which case, you'll have to open it and read/trace what it actually execs in order to ldd that.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #5   (View Single Post)  
Old 16th November 2008
Business_woman's Avatar
Business_woman Business_woman is offline
lieutenant
 
Join Date: May 2008
Posts: 45
Default

The real binary seems to reside is /usr/local/Adobe/reader8/ENU/Adobe/Reader8/Reader/intellinux/bin

An ldd gives: ELF binary type "0" not known.
__________________
I like cookies...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shared object not found 'libwrap.so.4' magic FreeBSD General 3 22nd July 2009 09:36 PM
uninstall xorg libraries for a server adrian_m FreeBSD Ports and Packages 1 26th January 2009 11:01 PM
I386 ELF32 binary on AMD64 system can't find shared libraries Gemini FreeBSD General 0 9th December 2008 06:49 AM
Linux emulation Mr-Biscuit FreeBSD General 2 9th October 2008 09:44 PM
What include and shared library directories are searched by gcc kasse FreeBSD General 3 16th July 2008 08:44 PM


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


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick