LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 04-08-2011, 01:16 AM   #1
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 13.37, Slackware 14.0
Posts: 260

Rep: Reputation: 31
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
 
Old 04-08-2011, 01:54 AM   #2
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 13.37, Slackware 14.0
Posts: 260

Original Poster
Rep: Reputation: 31
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
 
Old 04-08-2011, 04:15 AM   #3
ariarat
LQ Newbie
 
Registered: Apr 2010
Location: Tehran
Distribution: Slackware S & C,Fedora
Posts: 3

Rep: Reputation: 3
I installed FBreader with no error ... first installed liblinebreak and then FBreader.

solution :
see this
 
Old 04-08-2011, 09:41 AM   #4
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 13.37, Slackware 14.0
Posts: 260

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by ariarat View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Conky SlackBuild fails agi93 Slackware 6 07-02-2010 05:21 PM
lmms slackbuild fails with -current the_penguinator Slackware 3 02-03-2010 09:24 AM
fbreader.SlackBuild uses /usr/lib in x86_64 gapan Slackware 6 01-13-2010 04:42 PM
Slackbuild of Scilab 5.1 fails under Slackware64 13... is this reproducible...?? Alexvader Slackware 21 11-29-2009 02:29 PM
wmii slackbuild fails... What can I do...? Alexvader Slackware 3 11-02-2009 09:59 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration