|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 4 |
|
| Author |
|
|
Newbie Joined: May 31, 2005 Post Count: 5 Status: Offline |
Hi, Thanks for all your efforts in putting out 1.5.8... I have a problem building the library on SUSE 9.2 64-bit: make[1]: Entering directory `/home/gary/src/sword-1.5.8' /bin/sh ./libtool --tag=CXX --mode=link g++ -ftemplate-depth-25 -g -O2 -o buildtest buildtest.o ./lib/libsword.la g++ -ftemplate-depth-25 -g -O2 -o .libs/buildtest buildtest.o ./lib/.libs/libsword.so /usr/lib64/libstdc++.so ./lib/.libs/libsword.so: undefined reference to `uncompress' ./lib/.libs/libsword.so: undefined reference to `gzerror' ./lib/.libs/libsword.so: undefined reference to `gzread' ./lib/.libs/libsword.so: undefined reference to `gzdopen' ./lib/.libs/libsword.so: undefined reference to `compress' collect2: ld returned 1 exit status make[1]: *** [buildtest] Error 1 make[1]: Leaving directory `/home/gary/src/sword-1.5.8' make: *** [all-recursive] Error 1 1.5.8 builds fine on a SUSE 9.2 32-bit system, this only happens to me on the 64-bit version. Looking a bit closer I see that the last call to g++ doesn't call -lz which the 32-bit version does. If I run: g++ -ftemplate-depth-25 -g -O2 -o .libs/buildtestbuildtest.o ./lib/.libs/libsword.so /usr/lib64/libstdc++.so /usr/lib64/libz.so.1 The it compiles OK, however then running make again doesn't move any further. I am not that familiar with your build procedures. If anyone can point me the right direction, I will be very happy to do some more digging around. Thanks, Gary ---------------------------------------- Gary Sims MyBibleBase.com The Hungry Penguin |
||
|
|
Newbie Joined: May 31, 2005 Post Count: 5 Status: Offline |
After some further playing around I have discovered that I can build the library if I disable zlib support with ./configure --without-zlib. This is not a solution, but it does help narrow down the problem! Gary ---------------------------------------- Gary Sims MyBibleBase.com The Hungry Penguin |
||
|
|
Developer ![]() Joined: Nov 15, 2003 Post Count: 88 Status: Offline |
What happens if you do make distclean; ./autogen.sh; ./usrinst.sh; make ? This recreates the configure script on your system. Joachim |
||
|
|
Newbie Joined: May 31, 2005 Post Count: 5 Status: Offline |
Hi, With regards to Sword 1.5.8 compiling it on Suse 9.2 64 bit, I have solved the problem. The SUSE 9.2 DVD from their FTP doesn't come with zlib-devel. However downloading the rpm separately and installing it solved the problem. It looks like some minor work is required in the ./configure to spot when the zlib-devel is missing. Thanks, Gary ---------------------------------------- Gary Sims MyBibleBase.com The Hungry Penguin |
||
|
|
|
|
Current timezone is GMT May 23, 2013 5:47:36 AM |