LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-17-2005, 02:30 PM   #1
ParticleHunter
Member
 
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Rep: Reputation: 15
shadow 4.0.10 problem


Hi,

I've been playing with my newly-created LFS system, and in all my three 'successful' builds I've encountered the same problem at the time of compiling shadow-4.0.10...

the problem is, well... If I use the --enable-shared parameter in the configure script, when I'm going to execure pwconv and grpconv to convert the password format of users and groups to shadow's SVR4 format, I get the following error message:

pwconv: error while loading shared libraries: libshadow.so.0: cannot open shared object file: No such file or directory
grpconv: error while loading shared libraries: libshadow.so.0: cannot open shared object file: No such file or directory

I've come up with a solution, and that's not building shadow libraries in a shared way but a static way, it works but as the LFS book shows the configure line as --enable-shared, I think it's not a good solution...

can anyone help me identifying the possible source of the error? I've repeated the compilation process up to 23 times, and the result doesn't vary a thing in all my attempts, I thought the problem could be with my binutils/glibc/gcc installation, but the test suites doesn't give me any compilation error, so, frankly, I don't know what could I be doing wrong...

the syntax is followed strictly, so I can guarantee you it's not a typo, at least not if the book syntax is right (I'm using SVN version, directly read from web and the errata section doesn't state anything about this section, that's... 6.54. Shadow-4.0.10

can anyone help me?

Thanks in advance,
Julio
 
Old 07-17-2005, 02:33 PM   #2
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
Not sure if this will fix it, but try running ldconfig after installing shadow. Otherwise, check to make sure that the libshadow shared library is there.
 
Old 07-18-2005, 12:04 PM   #3
ParticleHunter
Member
 
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Original Poster
Rep: Reputation: 15
Hi,

you were right in your advice, my fault was not updating the library cache, so a quick run of ldconfig solved the problem

thanks a lot

Julio
 
  


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
passwd shadow problem rblampain Linux - Distributions 2 10-04-2005 12:00 AM
Shadow Problem leonidg Programming 1 04-17-2005 05:09 AM
OpenOffice/Bullet/Shadow Problem. rvijay Linux - Software 1 04-07-2005 06:37 PM
/etc/shadow- (notice the dash after the word shadow) shellcode Linux - Security 1 09-03-2004 04:54 AM
Nvidia cursor shadow problem jax8 Linux - Newbie 1 02-23-2004 08:22 AM


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