[Wylug-help] ld needs lib_nonshared.a

Andrew Teal a.teal at hud.ac.uk
Fri Apr 22 10:52:11 BST 2005


Requirement
To trace access to a particular file by analysing deleted httpd access logs on a linux HD.

Method
Transfer the disc to another machine, boot using LNX-BBC, install "The Coronor's Toolkit", unrm all the deleted sectors, search them for the relevant filename, all the while keeping the logs' partition ro.

Problem
LNX-BBC mounts the ro partitions as (eg) /mnt/rw/discs/disc0/part5 rather than /var, as it has its own /var.
A path to /mnt/rw/discs/disc0/part2/bin picks up gcc/ld, and setting $LD_LIBRARY_PATH to /mnt/rw/discs/disc0/part2/lib picks up libbfd-2.13.90.0.2.so from that directory. But I can't make ld find /mnt/rw/discs/disc0/part2/lib/lib_nonshared.a in the same directory.
There is a version of ld on the cd, but running either version generates the same report "can't find /usr/lib/lib_nonshared.a". I think it's a mistake that this doesn't exist on the cd, but the lnx-bbc project seems to have died (most bug reports being over a year old and no activity on the mailing list).

Solution
Anyone know how to use the environment to force ld to find lib_nonshared.a ? (so I can at least get to the next hurdle ;) )
Any other suggestions?
Otherwise I'll just have to further research the competition to LNX-BBC.

I'll be learning something new in any case :)

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- 
Andrew Teal      Information Technologist 
School of Human & Health Sciences 
HW1/05, University of Huddersfield, 
Queensgate, Huddersfield, HD1 3DH 
< a.teal at hud.ac.uk >  Tel: 01484 473674 
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.wylug.org.uk/pipermail/wylug-help/attachments/20050422/610b8c58/attachment.html


More information about the Wylug-help mailing list