LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-19-2009, 01:20 PM   #1
DaCapitalist
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Rep: Reputation: 0
Failed to compile MySQLembedded as requirement of amarok 2.1 beta


Hi folks!

This is my error Code. I'm working with a LFS system trying to compile MySQL embedded as described on the webpage of amarok.

Code:
 sql_tablespace.o partition_info.o sql_servers.o event_parse_data.o mini_client_errors.o pack.o client.o my_time.o my_user.o -static  ./.libs/libndb.a -lpthread -lpthread -lpthread -lpthread /usr/lib/../lib64/libstdc++.a -L/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src -L/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -lm -lm -lm -L/sources/gcc-build/./gcc -L/usr/lib/../lib64 -L/lib/../lib64 -lgcc_s -lc -lgcc_s -lm -lgcc_s -lc -lgcc_s ../storage/csv/libcsv.a ../storage/heap/libheap.a ../storage/myisam/libmyisam.a ../storage/myisammrg/libmyisammrg.a ../vio/libvio.a ../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm -lpthread  
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make[3]: *** [mysqld] Fehler 1
make[3]: Leaving directory `/root/mysql-5.1.33/sql'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/root/mysql-5.1.33/sql'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/root/mysql-5.1.33/sql'
make: *** [all-recursive] Fehler 1
!!! make failed, aborting
Could you please help me finding whats going wrong here?
I never saw something like -lgcc_s before and in addition the /sources directory from LFS does not exist anymore on my disk since I installed Xorg from BLFS... That's really confusing...
 
Old 04-19-2009, 04:21 PM   #2
DaCapitalist
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Well, I'm new to this community so I don't know if I just could not explain the problem precisely or if its that hard or if you just forgot me poor man.

So, if I can help with any information or console outputs then please let me know.

And of course I'm sorry for my bad english. It went away after school somehow ;-)
 
Old 04-20-2009, 10:18 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
Welcome to LQ.

Try finding it with 'find' :
find /lib -name libgcc_s*
find /usr/lib -name libgcc_s*

The required -lgcc_s = libgcc_s.so usually located
in /usr/lib/ is a symlink to /lib/libgcc_s.so.1
on most systems. Could be it's different on LFS ? ?
.....

Last edited by knudfl; 04-22-2009 at 07:26 AM.
 
Old 04-20-2009, 12:28 PM   #4
DaCapitalist
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for your reply!

here my results before I fail trying to understand them:

Code:
bash-3.2# find /lib -name libgcc_s*
bash-3.2# find /usr/lib -name libgcc_s*
/usr/lib/libgcc_s.so.1
/usr/lib/libgcc_s.so
bash-3.2#
here is my ld.so.conf:
Code:
# Begin /etc/ld.so.conf

/usr/local/lib
/usr/X11/lib
/usr/lib
/lib
/usr/qt4/lib
/usr/kde4/lib

# End /etc/ld.so.conf

Last edited by DaCapitalist; 04-20-2009 at 12:33 PM.
 
Old 04-21-2009, 10:38 AM   #5
DaCapitalist
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Does anybody know what to do in this case?

*friendly pushing ;-) *
 
Old 04-23-2009, 12:46 PM   #6
DaCapitalist
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Trying
Code:
export LDFLAGS="-L/usr/lib64 -s"
didn't help either. Where does this skript look for -lgcc_s ??

Does anyone know? Please help...
 
Old 04-27-2009, 10:52 AM   #7
DaCapitalist
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
No idea?

Has nobody here done this before?
 
  


Reply

Tags
amarok, embedded, mysql


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Amarok 2 Second Beta Released LXer Syndicated Linux News 0 10-08-2008 09:50 AM
amarok compile error marvinous Slackware 4 02-13-2007 07:53 PM
Amarok/Xine massive dependency Hell in SuSE 10 OSS 64bit(10.1 beta aka 10.0.42) RedShirt Suse/Novell 6 01-24-2006 06:12 PM
amaroK compile error jaakkop Linux - Software 4 01-23-2006 12:47 PM
Amarok 1.2 Beta 1 permafrost91 Linux - Software 2 12-10-2004 10:57 AM


All times are GMT -5. The time now is 10:44 PM.

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