LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-13-2017, 01:43 PM   #1
marcin1509
LQ Newbie
 
Registered: May 2017
Location: Nowy Dwor Gdanski, Poland
Distribution: Ubuntu 16.04
Posts: 20

Rep: Reputation: Disabled
perl compilation problem


Hello
I tried to compile Perl and I got an error message
Code:
error while loading shared libraries : libgdm.so.4 Cannot open shared 
object file : No such file or directory
Ok I know - this file doesn't exist in /usr/local/lib.
Compilation of gdbm worked fine. Why this file is not created ?
Regards
 
Old 05-13-2017, 02:07 PM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
Are the gdbm utilities (gdbm_dump, gdbm_load and gdbmtool) installed in /usr/bin? If not, you forgot the "make install" step.
 
Old 05-13-2017, 03:10 PM   #3
marcin1509
LQ Newbie
 
Registered: May 2017
Location: Nowy Dwor Gdanski, Poland
Distribution: Ubuntu 16.04
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
Are the gdbm utilities (gdbm_dump, gdbm_load and gdbmtool) installed in /usr/bin? If not, you forgot the "make install" step.
yes, it's installed.
 
Old 05-14-2017, 12:16 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
Quote:
Originally Posted by marcin1509 View Post
Ok I know - this file doesn't exist in /usr/local/lib.
Compilation of gdbm worked fine. Why this file is not created ?
Regards
The library should be in /usr/lib, not /usr/local/lib. Can you check that?
 
Old 05-14-2017, 07:17 AM   #5
marcin1509
LQ Newbie
 
Registered: May 2017
Location: Nowy Dwor Gdanski, Poland
Distribution: Ubuntu 16.04
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
The library should be in /usr/lib, not /usr/local/lib. Can you check that?
Yes.
I have this File in this location.
It's a link to file libgdm.so.4.0.0 which is next to It.
 
Old 05-14-2017, 11:16 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
Quote:
Originally Posted by marcin1509 View Post
Yes.
I have this File in this location.
It's a link to file libgdm.so.4.0.0 which is next to It.
Sorry, which location? Your post is ambiguous. This library and its link should both be in /usr/lib.

If they are there, then I am out of ideas! I suggest you post the problem on the LFS mailing list where a more knowledgeable person can find it.

PS: There is an earlier post in this forum here which might be relevant. The problem I have with it is that their suggested solution shouldn't be necessary. ld should automatically be looking for libraries in /lib and /usr/lib without being told to.
 
Old 05-14-2017, 12:56 PM   #7
marcin1509
LQ Newbie
 
Registered: May 2017
Location: Nowy Dwor Gdanski, Poland
Distribution: Ubuntu 16.04
Posts: 20

Original Poster
Rep: Reputation: Disabled
In /usr/bin as I mentioned .
I know that there is a post about It but ubfortunately It doesn't work

Update :
I had twk files :.
Libgdm.so.4 - the symbolic link to below file
libgdmso.4.0.0 - the File compiler requested

I deleted the link and renamed the second to libgdm.so.4 and It works.

Last edited by marcin1509; 05-14-2017 at 03:12 PM.
 
  


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
Perl compilation error smeezekitty Programming 12 12-02-2014 11:16 PM
Perl Division Kills Compilation 0.o Programming 7 01-19-2012 04:55 AM
NDBM error lors de la compilation de perl-5.8.6 tifa Linux - Software 2 03-03-2005 10:22 AM
Problem with perl module for w3c validator to work on my local Apache+PHP+perl instal tbamt Linux - Software 0 12-16-2004 05:37 PM
perl compilation error behmjose Linux From Scratch 0 12-18-2003 06:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:57 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