LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 08-29-2004, 08:04 PM   #1
Lurker01
Member
 
Registered: Aug 2004
Location: Brooklyn, NY
Posts: 133

Rep: Reputation: 15
libexpat.so.4 not found


I had this same issue the last time I attempted to install Fbsd 5.2.1 on my other computer. I install the system, updated the ports, compiled xorg, tested and configured xorg, started it too. Then I did a pkg_add of fluxbox. Fluxbox during the install showed that a lot of the stuff was already installed. I made a .xinitrc file in my home directory and typed "fluxbox" on the first line. Proceeded to type "Startx". It thinks for a little bit, screen goes black, and Im back in cosole with the message "/libexex/ld-elf.so.1: shared object "libexpat.so.4" not fount. It is repeated 4 times one after the other.

I googled this problem but nothing turned up results that pertained to FreeBSD and any connection to xorg or fluxbox.

This is the same spot where I got stuck dead last time.

Please Help.
 
Old 08-29-2004, 11:03 PM   #2
Lurker01
Member
 
Registered: Aug 2004
Location: Brooklyn, NY
Posts: 133

Original Poster
Rep: Reputation: 15
Problem solved and its a big thanks to my bestest friend in the whole world.
First I dloaded Expat 1.95 from there website at sourceforge.expat.com using links. Unziped it, read the README, Configured it, and compiled it. Then I ran startx, the same thing happened so I IMED my bestest buddy and he says make a symlink. Well when I updated my file DB it found libexpat.so.5, not 4. So he said make a symlink from 5 to 4. Then I typed startx and it worked.

OH MAN IM SO FREAKING HAPPY. I would scream if my parents werent sleeping.

Last edited by Lurker01; 08-29-2004 at 11:11 PM.
 
Old 08-29-2004, 11:56 PM   #3
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
Quote:
Then I did a pkg_add of fluxbox.
Why it would have most likely worked flawlessly if you installed from the ports...
 
Old 08-30-2004, 10:49 AM   #4
Lurker01
Member
 
Registered: Aug 2004
Location: Brooklyn, NY
Posts: 133

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Stack
Why it would have most likely worked flawlessly if you installed from the ports...
Yea, youre probably right. But I doubt that it was a method of installation problem.
 
Old 08-30-2004, 11:23 AM   #5
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Well ports automatically satisfies dependencies, so yes it most likely was a method of installation problem. Now you have some rogue software on your system because how are you going to keep libexpat up to date with FreeBSD?

You really should read the handbook documentation on ports. There's no reason to be downloading things as source and rolling the dice as to whether they build correctly, and even if they do then they're pretty much unupdatable and the FreeBSD ports system won't be aware that they're there. There are over 10,000 packages in the ports tree, so it's pretty likely that anything you want is in there.
 
Old 08-30-2004, 12:13 PM   #6
Lurker01
Member
 
Registered: Aug 2004
Location: Brooklyn, NY
Posts: 133

Original Poster
Rep: Reputation: 15
I think I searched the ports for Libexpat and even performed a port upgrade and it didnt fix the problem. What bothers me is that it seems I am the only that has run into this problem.
 
Old 09-07-2004, 09:19 PM   #7
bhaputi
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
What about the 20040313 entry from /usr/ports/UPDATING ?

-------------------------
20040313:
AFFECTS: users of textproc/expat2
AUTHOR: marcus@FreeBSD.org

Users of expat2 (and its many dependencies) should do the following to
properly update expat2 and all of its dependencies:

portupgrade -rf textproc/expat2

--------------------------

I ran into the same problem as you, and this worked like a charm - although it took eons on my 1.8 GHz laptop......
 
Old 09-07-2004, 09:39 PM   #8
Lurker01
Member
 
Registered: Aug 2004
Location: Brooklyn, NY
Posts: 133

Original Poster
Rep: Reputation: 15
Oh I fixed this problem. I just symlinked the so.6 file to the so.4 and it worked.
 
Old 09-08-2004, 12:38 PM   #9
bhaputi
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
Good Luck - hope you do not run into issues with sym-linking like that. I prefer to do it the "correct" way per the FreeBSD team, but it does take quite a bit more time.....
 
Old 09-08-2004, 08:45 PM   #10
Lurker01
Member
 
Registered: Aug 2004
Location: Brooklyn, NY
Posts: 133

Original Poster
Rep: Reputation: 15
Well downgrading to the old expat to have the so.4 then upgrading back to the latest to get so.6 is a pain in the ass. To bad you cant just dload that one library.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
where i can download libexpat.so.1 icoming Linux - Software 3 10-03-2006 09:13 PM
libexpat not found but at the same time is newest version scottybwoy Linux - Software 1 11-25-2005 10:50 AM
Missing libexpat.so.1 and libopenal.so.0 CluelessSteve Mandriva 2 12-19-2004 01:47 PM
gcc vs. g++ -> iostream lib found vs. not found CooManChu Linux - General 1 12-11-2004 09:20 AM
PDC 20276 - Promise Fasttrack 133 found but still not found.. FransE Linux - Hardware 3 02-16-2004 07:44 AM


All times are GMT -5. The time now is 05:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration