LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-12-2008, 11:13 AM   #1
agentc0re
Member
 
Registered: Apr 2007
Location: SLC, UTAH
Distribution: Slackware
Posts: 200

Rep: Reputation: 34
Compiling libtorrent-0.12 failing on boost lib that does exist


I found out that in order to compile this i had to have some boost lib's. So i used src2pkg to create my boost pkg. Worked and compiled with no errors and then i installed it.
Code:
 ls /usr/lib/libboost_date_time-gcc41*
/usr/lib/libboost_date_time-gcc41-1_34_1.a	      /usr/lib/libboost_date_time-gcc41-mt-1_34_1.so.1.34.1
/usr/lib/libboost_date_time-gcc41-1_34_1.so	      /usr/lib/libboost_date_time-gcc41-mt-d-1_34_1.a
/usr/lib/libboost_date_time-gcc41-1_34_1.so.1.34.1    /usr/lib/libboost_date_time-gcc41-mt-d-1_34_1.so
/usr/lib/libboost_date_time-gcc41-d-1_34_1.a	      /usr/lib/libboost_date_time-gcc41-mt-d-1_34_1.so.1.34.1
/usr/lib/libboost_date_time-gcc41-d-1_34_1.so	      /usr/lib/libboost_date_time-gcc41-mt-d.a
/usr/lib/libboost_date_time-gcc41-d-1_34_1.so.1.34.1  /usr/lib/libboost_date_time-gcc41-mt-d.so
/usr/lib/libboost_date_time-gcc41-d.a		      /usr/lib/libboost_date_time-gcc41-mt.a
/usr/lib/libboost_date_time-gcc41-d.so		      /usr/lib/libboost_date_time-gcc41-mt.so
/usr/lib/libboost_date_time-gcc41-mt-1_34_1.a	      /usr/lib/libboost_date_time-gcc41.a
/usr/lib/libboost_date_time-gcc41-mt-1_34_1.so	      /usr/lib/libboost_date_time-gcc41.so
Code:
ls /usr/lib/libboost_filesystem-gcc41*
/usr/lib/libboost_filesystem-gcc41-1_34_1.a	       /usr/lib/libboost_filesystem-gcc41-mt-1_34_1.so.1.34.1
/usr/lib/libboost_filesystem-gcc41-1_34_1.so	       /usr/lib/libboost_filesystem-gcc41-mt-d-1_34_1.a
/usr/lib/libboost_filesystem-gcc41-1_34_1.so.1.34.1    /usr/lib/libboost_filesystem-gcc41-mt-d-1_34_1.so
/usr/lib/libboost_filesystem-gcc41-d-1_34_1.a	       /usr/lib/libboost_filesystem-gcc41-mt-d-1_34_1.so.1.34.1
/usr/lib/libboost_filesystem-gcc41-d-1_34_1.so	       /usr/lib/libboost_filesystem-gcc41-mt-d.a
/usr/lib/libboost_filesystem-gcc41-d-1_34_1.so.1.34.1  /usr/lib/libboost_filesystem-gcc41-mt-d.so
/usr/lib/libboost_filesystem-gcc41-d.a		       /usr/lib/libboost_filesystem-gcc41-mt.a
/usr/lib/libboost_filesystem-gcc41-d.so		       /usr/lib/libboost_filesystem-gcc41-mt.so
/usr/lib/libboost_filesystem-gcc41-mt-1_34_1.a	       /usr/lib/libboost_filesystem-gcc41.a
/usr/lib/libboost_filesystem-gcc41-mt-1_34_1.so        /usr/lib/libboost_filesystem-gcc41.so
Code:
ls /usr/lib/libboost_thread-gcc41-mt* 
/usr/lib/libboost_thread-gcc41-mt-1_34_1.a	    /usr/lib/libboost_thread-gcc41-mt-d-1_34_1.so.1.34.1
/usr/lib/libboost_thread-gcc41-mt-1_34_1.so	    /usr/lib/libboost_thread-gcc41-mt-d.a
/usr/lib/libboost_thread-gcc41-mt-1_34_1.so.1.34.1  /usr/lib/libboost_thread-gcc41-mt-d.so
/usr/lib/libboost_thread-gcc41-mt-d-1_34_1.a	    /usr/lib/libboost_thread-gcc41-mt.a
/usr/lib/libboost_thread-gcc41-mt-d-1_34_1.so	    /usr/lib/libboost_thread-gcc41-mt.so
As you can see, those are the needed lib's by libtorrent. I first tried to use src2pkg for libtorrent but since i ran into this issue i am doing it by hand.

What happens is, it wont get past the ./configure. I've tried so many different variations of where and how to specify for the first boost lib it's looking for i'm not sure what else to do. this is what i mean.
Code:
./configure --with-boost-date-time=/usr/lib/libboost_date_time-gcc41.so
./configure --with-boost-date-time=libboost_date_time-gcc41.so
./configure --with-boost-date-time=/usr/lib/libboost_date_time-gcc41
./configure --with-boost-date-time=/usr/lib/boost_date_time-gcc41
./configure
None of those seem to work for me. i've tried
Code:
ln -s /usr/lib/libboost_date_time-gcc41.so /usr/lib/libboost_date_time.so
Still can't get past ./configure

Anyone have any idea's?
 
Old 01-12-2008, 11:15 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Run ldconfig and try again without specifying anything.
 
Old 01-12-2008, 01:01 PM   #3
agentc0re
Member
 
Registered: Apr 2007
Location: SLC, UTAH
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by Alien_Hominid View Post
Run ldconfig and try again without specifying anything.
ran
Code:
ldconfig
then i ran it again
Code:
ldconfig -v | grep libboost_date*
I did that just to be sure that it was touching the libboost lib's and it is.
I went into the src dir and ran ./configure and i still get the same error with the date_time lib not being found. i even tried it as root to be certain. then i tried adding
Code:
--with-boost-date-time=/usr/lib/boost_date_time-gcc41
--with-boost-date-time=boost_date_time-gcc41
still no go. and im not even sure im doing that right, i can't find any real documentation on how that syntax should be.
 
Old 01-12-2008, 01:02 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Try removing your boost package, install this boost package instead: http://www.slackware.com/~alien/slac...oost/pkg/12.0/ and then try if the libtorrent finds the boost libs.

Eric
 
Old 01-12-2008, 01:36 PM   #5
agentc0re
Member
 
Registered: Apr 2007
Location: SLC, UTAH
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by Alien Bob View Post
Try removing your boost package, install this boost package instead: http://www.slackware.com/~alien/slac...oost/pkg/12.0/ and then try if the libtorrent finds the boost libs.

Eric
Well Eric, as you usual you have the magic touch. removed my pkg, installed yours and ran ldconfig. ran ./configure and i got past that point but failed at boost_thread. so i added
Code:
./configure --with-boost-thread=boost_thread-mt
and all is well. I'd really like to try and figure out why my boost pkg didn't work. One thing i've noticed so far is all of my boost lib's had gcc41 after them and then i also had a bunch that had the boost lib version # after them. Your's don't have that. Was there some extra config line you compiled boost with?

Again Eric, thank you as always. You are a big help in this community!
 
  


Reply



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
ia32-lib-firefox does not exist, package manager broken fakie_flip Ubuntu 0 10-13-2007 10:57 AM
Compiling Hugin - problems finding boost headers pwc101 Linux - Software 2 05-21-2007 06:01 AM
programs, including pine, failing to run, missing lib slackcub Slackware 1 01-15-2007 12:19 AM
Compiling Programs - Always Failing? mEo Linux - Newbie 9 05-01-2006 04:06 AM
FATAL: Could not load /lib/modules/2.6.14-default/modules.dep no such file exist dr_zayus69 Linux - Software 3 12-26-2005 06:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration