LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-30-2012, 09:12 AM   #1
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Rep: Reputation: 64
Im trying to build program, but GCC gives error


Im trying to build Liferea (Linux Feed Reader), but GCC gives me this error message:

Quote:
gcc: /usr/lib/liblua.so : No such file or directory
LUA 5.1.4 is installed on my system, and liblua.so is in the above directory.

I've done 'ldconfig' but I still get the error message.
 
Old 03-30-2012, 04:13 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
What's the output of:
Code:
ls -l /usr/lib/liblua.so
Check permissions and make sure it isn't a link to a non-existent file.
 
Old 03-30-2012, 06:53 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you need to install the source/headers for lua
what you have right now is just the lib
you do not have the development package for lua
that is a REQUIREMENT for building any software that uses LUA


and / or

you are running a 64 bit OS and you are trying to build a 32 bit program
 
Old 03-31-2012, 05:34 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
you need to install the source/headers for lua
what you have right now is just the lib
you do not have the development package for lua
that is a REQUIREMENT for building any software that uses LUA
Slackware doesn't divide its libraries into runtime and development packages.
 
Old 03-31-2012, 06:14 PM   #5
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Original Poster
Rep: Reputation: 64
Gosh darn it, Im sorry for the late reply, in all honesty I forgot I even posted this question untill earlier today, I've just been getting drunk all weekend.

It turns out that it was a soft link that was pointing to the wrong file, so I created a new link and now it works.

Thanks to those that responded.
 
  


Reply



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
gcc-4.4.3 make error - failed to build gcc-4.4.3--please help aayu09 Fedora 4 03-05-2010 09:20 AM
LFS 6.4 build gcc error Ron_Beltran Linux From Scratch 4 09-22-2009 11:18 PM
GCC build error real.h mpfr_srcptr R03L Linux From Scratch 4 12-21-2008 06:42 AM
GCC build error on Ubuntu 7.04 vikku Linux - Software 3 09-23-2008 06:45 AM
GCC build error lukeiamyourfather Linux From Scratch 5 01-05-2008 11:01 AM

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

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

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