NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Error compiling dbg-cli-2.11


Joined: 14 Apr 2005
Posts: 1
Reply with quote
Hi!

I have some trouble compiling dbg_client-2.11.32 under SuSE9.2.

./configure shows no trouble, giving this summary:
Quote:
Source code location: .
Compiler CC, CXX: gcc, c++
Compiler flags: -g -O2, -g -O2
Linker: /usr/x86_64-suse-linux/bin/ld
Host System Type: x86_64-unknown-linux-gnu
Install path: /usr/local


But make fails with
Quote:
Making all in dbg
make[2]: Entering directory `/usr/local/src/dbg_client-2.11.32/dbg'
/bin/sh ../libtool --mode=link c++ -g -O2 -o dbg-cli -L../dbgbase -L../pcre -L../getopt command.o dbgclient_classes.o main.o-ldbgbase -lpcre_1 -lstdc++ -lreadline -lgetopt_1 -lncurses
c++ -g -O2 -o dbg-cli command.o dbgclient_classes.o main.o -L/usr/local/src/dbg_client-2.11.32/dbgbase -L/usr/local/src/dbg_client-2.11.32/pcre -L/usr/local/src/dbg_client-2.11.32/getopt -ldbgbase -lpcre_1 /usr/lib/libstdc++.so -lm -lgcc_s_32 -lc -lgcc_s_32 -lm -lgcc_s_32 -lc -lgcc_s_32 -lreadline -lgetopt_1 -lncurses
/usr/lib/libstdc++.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [dbg-cli] Error 1
make[2]: Leaving directory `/usr/local/src/dbg_client-2.11.32/dbg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/dbg_client-2.11.32'
make: *** [all-recursive-am] Error 2


Any suggestions on this?

Regards
wonko
View user's profileFind all posts by wonkoSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
/usr/lib/libstdc++.so
^^^^^^^^^^^

I believe the problem is with /usr/lib path.
It should not be used under Linux-64. The proper path is /usr/lib64.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 14 Jul 2005
Posts: 8
Location: Chicago, IL
Reply with quote
Quote:
/usr/lib/libstdc++.so
^^^^^^^^^^^

I believe the problem is with /usr/lib path.
It should not be used under Linux-64. The proper path is /usr/lib64.


That's correct, but most configure scripts have a --enable-libsuffix=64 option that you can specify, whereas the dbg_cli configure script does not, so there is no way to tell the build system where to look for libraries, because it defaults to /usr/lib.

Is there a way we can do this without editing every makefile.am ourselves?
View user's profileFind all posts by epchrisSend private messageAIM AddressMSN Messenger
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
You may want to rebuild configure by running buildconf.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Error compiling dbg-cli-2.11
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic