Topic-icon Problem with boost

  • Rob
  • Rob's Avatar Topic Author
  • Visitor
  • Visitor
20 Jun 2007 03:25 #533 by Rob
Rob created the topic: Problem with boost
I have installed boost (ver 1.33.1-r1 on gentoo 64bit). boost-dev is not available on gentoo, cause packages are always compiled from source. But when I compile pokerth, I get the following error during \"make\":

[code:1]make
g++ -o bin/pokerth obj/game.o obj/pokerth.o obj/session.o obj/playerdata.o obj/configfile.o obj/boardinterface.o obj/enginefactory.o obj/flopinterface.o obj/handinterface.o obj/playerinterface.o obj/preflopinterface.o obj/riverinterface.o obj/turninterface.o obj/guiinterface.o obj/thread.o obj/tinystr.o obj/tinyxml.o obj/tinyxmlerror.o obj/tinyxmlparser.o obj/cardsvalue.o obj/localboard.o obj/localenginefactory.o obj/localflop.o obj/localhand.o obj/localplayer.o obj/localpreflop.o obj/localriver.o obj/localturn.o obj/tools.o obj/clientboard.o obj/clientenginefactory.o obj/clientflop.o obj/clienthand.o obj/clientplayer.o obj/clientpreflop.o obj/clientriver.o obj/clientturn.o obj/connectdata.o obj/clientcallback.o obj/clientcontext.o obj/clientstate.o obj/clientthread.o obj/netpacket.o obj/resolverthread.o obj/senderthread.o obj/sendercallback.o obj/serverthread.o obj/servercontext.o obj/serverexception.o obj/serverrecvthread.o obj/serverrecvstate.o obj/servercallback.o obj/sessiondata.o obj/socket_startup_cmn.o obj/socket_helper_cmn.o obj/clientexception.o obj/netcontext.o obj/netexception.o obj/receiverhelper.o obj/sdlplayer.o obj/guiwrapper.o obj/mainwindowimpl.o obj/mycardspixmaplabel.o obj/mysetlabel.o obj/myrighttabwidget.o obj/mylefttabwidget.o obj/startsplash.o obj/log.o obj/chat.o obj/aboutpokerthimpl.o obj/connecttoserverdialogimpl.o obj/createnetworkgamedialogimpl.o obj/joinnetworkgamedialogimpl.o obj/newgamedialogimpl.o obj/settingsdialogimpl.o obj/myavatarbutton.o obj/myhpavatarbutton.o obj/selectavatardialogimpl.o obj/myavatarlistitem.o obj/startnetworkgamedialogimpl.o obj/waitforservertostartgamedialogimpl.o obj/changehumanplayernamedialogimpl.o obj/qttoolsinterface.o obj/qttoolswrapper.o obj/qthelper.o obj/serverguiwrapper.o obj/rand.o obj/socket_helper.o obj/socket_startup.o obj/moc_sdlplayer.o obj/moc_mainwindowimpl.o obj/moc_mycardspixmaplabel.o obj/moc_mysetlabel.o obj/moc_myrighttabwidget.o obj/moc_mylefttabwidget.o obj/moc_startsplash.o obj/moc_log.o obj/moc_chat.o obj/moc_aboutpokerthimpl.o obj/moc_connecttoserverdialogimpl.o obj/moc_createnetworkgamedialogimpl.o obj/moc_joinnetworkgamedialogimpl.o obj/moc_newgamedialogimpl.o obj/moc_settingsdialogimpl.o obj/moc_selectavatardialogimpl.o obj/moc_startnetworkgamedialogimpl.o obj/moc_waitforservertostartgamedialogimpl.o obj/moc_changehumanplayernamedialogimpl.o obj/qrc_resources.o -L/usr/lib64/qt4 -lboost_thread-mt -lcrypto -lSDL_mixer -lQtGui -L/usr/lib64 -L/usr/lib64/mysql -L/usr/lib64/qt4 -L/usr/lib -lpng -lSM -lICE -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -ldl -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lboost_thread-mt
collect2: ld gab 1 als Ende-Status zurück
make: *** [bin/pokerth] Fehler 1
[/code:1]

Has anyone similar problems?

Greeting Rob

Please Log in or Create an account to join the conversation.

  • heyn
  • heyn's Avatar
  • Visitor
  • Visitor
20 Jun 2007 03:30 #534 by heyn
heyn replied.
Hi again,

Do you have a /usr/lib/libboost_thread.so ?
I had to make a symlink from /usr/lib/libboost_thread-mt.so to /usr/lib/libboost_thread.so
Can you post the output from
ls -la /usr/lib/libboost* ?

heyn

Please Log in or Create an account to join the conversation.

  • Rob
  • Rob's Avatar Topic Author
  • Visitor
  • Visitor
20 Jun 2007 03:35 #535 by Rob
Rob replied.
I think the libboost_thread.so is missing on my system.

Here is the output:

[code:1]ls -la /usr/lib/libboost*
-rw-r--r-- 1 root root 140216 19. Jun 18:50 /usr/lib/libboost_date_time.a
lrwxrwxrwx 1 root root 28 19. Jun 18:50 /usr/lib/libboost_date_time.so -> libboost_date_time.so.1.33.1
-rwxr-xr-x 1 root root 67512 19. Jun 18:50 /usr/lib/libboost_date_time.so.1.33.1
-rw-r--r-- 1 root root 136344 19. Jun 18:50 /usr/lib/libboost_filesystem.a
lrwxrwxrwx 1 root root 29 19. Jun 18:50 /usr/lib/libboost_filesystem.so -> libboost_filesystem.so.1.33.1
-rwxr-xr-x 1 root root 70264 19. Jun 18:50 /usr/lib/libboost_filesystem.so.1.33.1
-rw-r--r-- 1 root root 62364 19. Jun 18:50 /usr/lib/libboost_iostreams.a
lrwxrwxrwx 1 root root 28 19. Jun 18:50 /usr/lib/libboost_iostreams.so -> libboost_iostreams.so.1.33.1
-rwxr-xr-x 1 root root 38136 19. Jun 18:50 /usr/lib/libboost_iostreams.so.1.33.1
-rw-r--r-- 1 root root 53830 19. Jun 18:50 /usr/lib/libboost_prg_exec_monitor.a
lrwxrwxrwx 1 root root 35 19. Jun 18:50 /usr/lib/libboost_prg_exec_monitor.so -> libboost_prg_exec_monitor.so.1.33.1
-rwxr-xr-x 1 root root 28464 19. Jun 18:50 /usr/lib/libboost_prg_exec_monitor.so.1.33.1
-rw-r--r-- 1 root root 552828 19. Jun 18:50 /usr/lib/libboost_program_options.a
lrwxrwxrwx 1 root root 34 19. Jun 18:50 /usr/lib/libboost_program_options.so -> libboost_program_options.so.1.33.1
-rwxr-xr-x 1 root root 234408 19. Jun 18:50 /usr/lib/libboost_program_options.so.1.33.1
-rw-r--r-- 1 root root 605744 19. Jun 18:50 /usr/lib/libboost_python.a
lrwxrwxrwx 1 root root 25 19. Jun 18:50 /usr/lib/libboost_python.so -> libboost_python.so.1.33.1
-rwxr-xr-x 1 root root 279280 19. Jun 18:50 /usr/lib/libboost_python.so.1.33.1
-rw-r--r-- 1 root root 1899316 19. Jun 18:50 /usr/lib/libboost_regex.a
lrwxrwxrwx 1 root root 24 19. Jun 18:50 /usr/lib/libboost_regex.so -> libboost_regex.so.1.33.1
-rwxr-xr-x 1 root root 591352 19. Jun 18:50 /usr/lib/libboost_regex.so.1.33.1
-rw-r--r-- 1 root root 1213230 19. Jun 18:50 /usr/lib/libboost_serialization.a
lrwxrwxrwx 1 root root 32 19. Jun 18:50 /usr/lib/libboost_serialization.so -> libboost_serialization.so.1.33.1
-rwxr-xr-x 1 root root 442776 19. Jun 18:50 /usr/lib/libboost_serialization.so.1.33.1
-rw-r--r-- 1 root root 153160 19. Jun 18:50 /usr/lib/libboost_signals.a
lrwxrwxrwx 1 root root 26 19. Jun 18:50 /usr/lib/libboost_signals.so -> libboost_signals.so.1.33.1
-rwxr-xr-x 1 root root 71416 19. Jun 18:50 /usr/lib/libboost_signals.so.1.33.1
-rw-r--r-- 1 root root 590850 19. Jun 18:50 /usr/lib/libboost_test_exec_monitor.a
lrwxrwxrwx 1 root root 36 19. Jun 18:50 /usr/lib/libboost_test_exec_monitor.so -> libboost_test_exec_monitor.so.1.33.1
-rwxr-xr-x 1 root root 219056 19. Jun 18:50 /usr/lib/libboost_test_exec_monitor.so.1.33.1
-rw-r--r-- 1 root root 566164 19. Jun 18:50 /usr/lib/libboost_unit_test_framework.a
lrwxrwxrwx 1 root root 38 19. Jun 18:50 /usr/lib/libboost_unit_test_framework.so -> libboost_unit_test_framework.so.1.33.1
-rwxr-xr-x 1 root root 212568 19. Jun 18:50 /usr/lib/libboost_unit_test_framework.so.1.33.1
-rw-r--r-- 1 root root 2452470 19. Jun 18:50 /usr/lib/libboost_wave.a
-rw-r--r-- 1 root root 992992 19. Jun 18:50 /usr/lib/libboost_wserialization.a
lrwxrwxrwx 1 root root 33 19. Jun 18:50 /usr/lib/libboost_wserialization.so -> libboost_wserialization.so.1.33.1
-rwxr-xr-x 1 root root 369512 19. Jun 18:50 /usr/lib/libboost_wserialization.so.1.33.1
[/code:1]

Greeting Rob

Please Log in or Create an account to join the conversation.

  • heyn
  • heyn's Avatar
  • Visitor
  • Visitor
20 Jun 2007 03:46 #536 by heyn
heyn replied.
Okay.
I checked on the Gentoo forums, and found http://forums.gentoo.org/viewtopic-t-452903-highlight-libboost.html
Check the post at the bottom, apparently you need to install boost with the \"threads\" USE flag enabled.
heyn

Please Log in or Create an account to join the conversation.

  • Rob
  • Rob's Avatar Topic Author
  • Visitor
  • Visitor
20 Jun 2007 04:05 #537 by Rob
Rob replied.
Heyn, you are a genius!!! Now it works.

Thanks for your great support!

Bye Rob

Please Log in or Create an account to join the conversation.

  • heyn
  • heyn's Avatar
  • Visitor
  • Visitor
20 Jun 2007 04:20 #538 by heyn
heyn replied.
Hi,
Happy to help. Have fun playing!
heyn

Please Log in or Create an account to join the conversation.

Champions of

PokerTH - live

The PokerTH spectator tool.

Member Login

 advert
NOTE! This site uses cookies and similar technologies.
Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.
More information

We use cookies to personalize content and ads to offer features for social media and analyze the number of hits on our website. We also provide information about your use of our website to our partner for social media, advertising and analysis on.
http://www.google.com/intl/de/policies/privacy/partners/