[Samba] Problem building 3.4.0 from source

David M Noriega
Thu, 09 Jul 2009 19:56:48 -0000

I've never seen this but the problem is that ld cannot find crt1.
Doing some searching it seems its part of the libc library. So for
some reason ld cannot find it. I'd say find where crt1 is located on
the system and make sure the path is right in ld.so.conf.

And just to be sure, install libc-devel
- Show quoted text -

On Thu, Jul 9, 2009 at 2:42 PM, David Armstrong<darmstrong@moca.org>
wrote:
> I am attempting to build 3.4.0 from source on my Ubuntu 8.04 box. ?I
> have gcc installed. ?When I run ./configure it returns "C compiler
> cannot create executables".
>
>
>
> I have been looking through the config.log file and I think I found the
> error message.
>
>
>
> configure:3304: gcc ? ?conftest.c ?>&5
>
> /usr/bin/ld: crt1.o: No such file: No such file or directory
>
> collect2: ld returned 1 exit status
>
> configure:3307: $? = 1
>
> configure:3345: result:
>
> configure: failed program was:
>
> | /* confdefs.h. ?*/
>
> | #define PACKAGE_NAME "Samba"
>
> | #define PACKAGE_TARNAME "samba"
>
> | #define PACKAGE_VERSION "3"
>
> | #define PACKAGE_STRING "Samba 3"
>
> | #define PACKAGE_BUGREPORT "samba-technical@samba.org"
>
> | #define CONFIG_H_IS_FROM_SAMBA 1
>
> | /* end confdefs.h. ?*/
>
> |
>
>
>
> I checked and there is an "ld" file in /usr/bin. ?It is about
430k in
> size.
>
>
>
>
>
> David Armstrong
>
> Database Administrator
>
> MOCA ?THE MUSEUM OF CONTEMPORARY ART
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: ?https://lists.samba.org/mailman/options/samba
>



--
Personally, I liked the university. They gave us money and facilities,
we didn't have to produce anything! You've never been out of college!
You don't know what it's like out there! I've worked in the private
sector. They expect results. -Ray Ghostbusters