LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-30-2014, 05:46 PM   #1
313
Member
 
Registered: Oct 2011
Location: Cardiff
Distribution: Debian 6.0.5
Posts: 39

Rep: Reputation: Disabled
Error compiling 'foto'. [error adding symbols: DSO missing from command line]


Hi, I'm reasonably new to compiling software from source, but wanted to try 'foto'.

I've installed the dependencies, run cmake, and then make.

make gives the following errors:
Code:
/usr/bin/ld: CMakeFiles/foto.dir/src/views/DynamicGrid.c.o: undefined reference to symbol 'fmod@@GLIBC_2.0'
//lib/i386-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [foto] Error 1
make[1]: *** [CMakeFiles/foto.dir/all] Error 2
make: *** [all] Error 2
It doesn't appear I'm missing any deps, and when searching these errors I see only people with massively longer command lines than simply 'make', who solve the issue by rearranging their command or installing a dependency.

Is this a bug, or am I approaching this in a naive way?
 
Old 02-04-2014, 08:45 AM   #2
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
add LDFLAGS="-lm"
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] run ps|grep command by script/command line ... ERROR: Unsupported option (BSD syntax) masuch Programming 4 05-23-2012 05:13 AM
Error compiling virtualbox 4.0.8 - missing .cfi_endproc directive Barx Slackware 2 06-28-2011 04:24 AM
[SOLVED] Error missing separator when compiling - make przemekfilu Linux - Newbie 2 11-16-2010 04:54 PM
compiling error: m4 missing speel Linux - Software 2 04-09-2008 10:19 PM
kde 3.1 compiling error, missing file or directory johnva Linux - Software 7 07-03-2003 05:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:58 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration