Share your knowledge at the LQ Wiki.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 10-21-2003, 11:07 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
ld: cannot open crt1.o: No such file or directory

I'm having a few problems compiling an application. This is the error message i get in the config.log file.

ld: cannot open crt1.o: No such file or directory

From what i have gathered, i am not going to be able to compile anything without this file being present.

I have checked in the /usr/lib directory and the file is not present.

The system is a version of FreeBSD that is automatically installed onto the box through the Checkpoint FW1 CD, so i do not have an installation source.

Can somebody please direct me to a source of this file, as i really need to get this app to compile, in order to get BGP working on the box.


Old 10-21-2003, 01:50 PM   #2
Registered: Aug 2003
Location: Manchester, England, UK, The World....
Distribution: Gentoo/SuSE 9.0
Posts: 291

Rep: Reputation: 30
well, which application are you trying to compile?
a .o file is an object file, and should be in this applications source directory, not in /usr/lib.
.so files are libraries.
Old 10-22-2003, 02:10 AM   #3
LQ Newbie
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: 0
I'm trying to compile an application called Zebra. Itís essentially a program that provides the box with BGP & OSPF networking functionality.
Old 10-22-2003, 12:47 PM   #4
Registered: Mar 2003
Distribution: FreeBSD 5.5, OpenBSD 3.3, Ubuntu breezy
Posts: 81

Rep: Reputation: 15
#cd /usr/ports/net/zebra
#make install clean
Old 10-31-2003, 11:31 AM   #5
jim mcnamara
Registered: May 2002
Posts: 964

Rep: Reputation: 36
crt1.0 ? sure it's not crt0.o?

crt0.o is part of the standard C library, and should be there if you installed a c compiler.

Identical copies of crt0.o can usually be found in either

Check for the presence of the file, then if it exists, check that your path can find the file.


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 cannot open shared object file: No such file or directory tcma Linux - Software 11 02-24-2012 03:00 AM
awk: fatal:cannot open file for reading (no such file or Directory) in Linux sangati vishwanath Linux - Software 4 07-06-2005 12:59 AM
how can i open *.tmpl file under kernel directory? alice95089 Linux - Software 1 04-15-2005 11:18 PM
tar -zvf file.gz in which directory to open? solutionseeker Linux - Newbie 3 01-30-2005 01:31 AM cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 08:34 AM > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 12:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration