On Fri, Apr 06, 2007 at 10:06:26PM +0200, Ivan Bažulić wrote:
> after compiling the second time glibc library, i wanted to test
> whether everything works. so i used the example from the book:
> 
> echo 'main(){}' > dummy.c
> cc dummy.c -Wl,--verbose &> dummy.log
> readelf -l a.out | grep ': /lib'
> 
> i get an error when trying to compile dummy.c with cc.:
> 
> attempt to open crt1.o failed
> collect2: ld returned 1 exit status
> 
> i'm using gcc-4.0.3 and glibc-2.3.6 with all patches. until now,
> everything worked perfectly. i did create /etc/ld.so.conf and i found
> a crt1.o within /usr/lib directory. any advice?
> 
 Did you get anything in dummy.log ?  If you did, what does it list
for SEARCH_DIR ?

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to