LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   FBReader Slackbuild fails (http://www.linuxquestions.org/questions/slackware-14/fbreader-slackbuild-fails-873712/)

bogzab 04-08-2011 01:16 AM

FBReader Slackbuild fails
 
I have the latest fbreader.Slackbuild via sbopkg. The compilation steps seem to run OK until, if I understand this correctly, it starts work on libzlcore, at which point things go wrong :

Code:

Compiling ZLibrary.o ...ZLibrary.cpp: In static member function 'static bool ZLibrary::init(int&, char**&)':
ZLibrary.cpp:129: warning: dereferencing type-punned pointer will break strict-aliasing rules
ZLibrary.cpp:129: warning: dereferencing pointer 'initLibrary.58' does break strict-aliasing rules
ZLibrary.cpp:129: note: initialized from here
 OK
make[2]: Leaving directory `/tmp/SBo/fbreader-0.12.10/zlibrary/core/src/unix/library'
Creating libzlcore.so.0.12.10 .../usr/lib/gcc/i486-slackware-linux/4.4.4/../../../../i486-slackware-linux/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in /usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libz.so
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libzlcore.so.0.12.10] Error 1
make[1]: Leaving directory `/tmp/SBo/fbreader-0.12.10/zlibrary/core'
make: *** [all] Error 1

Can anybody suggest a fix for this ? Am I missing something ? Do I have the wrong version of something ?

The README says I will need liblinebreak, which I "Slackbuilt" with no problems.

Thanks

bogzab 04-08-2011 01:54 AM

I get the same error when trying to build lxml - a dependency for another ebook reader (calibre). So I guess this is something in my libraries but I am lost as to where exactly the problem lies

ariarat 04-08-2011 04:15 AM

I installed FBreader with no error ... first installed liblinebreak and then FBreader.

solution :
see this

bogzab 04-08-2011 09:41 AM

Quote:

Originally Posted by ariarat (Post 4317844)
I installed FBreader with no error ... first installed liblinebreak and then FBreader.

solution :
see this

Thanks for the link to the thread about glibc - looks like I might have to downgrade the glibc on that machine. Managed to install fbreader OK on another PC with the same version of Slackware (13.1). Not sure when the glibc on the first machine got upgraded.


All times are GMT -5. The time now is 02:30 AM.