Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 1999 17:09:07 +0100 (CET)
From:      Edwin de Graaf <graaf@iae.nl>
To:        freebsd-questions@freebsd.org
Subject:   Linking a Perl module with aout libraries (FBSD31)
Message-ID:  <19990225160848.9640794E4@surf.iae.nl>

next in thread | raw e-mail | index | archive | help

I am trying to install the Perl DBD-odbc module on a FreeBSD 3.1-STABLE
server. To do this I need to link with the Solid ODBC library which I
only have in a.out format. Since the rest of the system is ELF I am not
sure how to accomplish this.

Will I need to compile Perl in a.out format? If so how do I do this? I
have tried setting OBJFORMAT to aout, and running a make in
src/gnu/usr.bin/perl, but that halts like this:

===> miniperl
Warning: Object directory not changed from original /home/rz/src/stable3/src/gnu/usr.bin/perl/miniperl
sh config_h.sh
Extracting config.h (with variable substitutions)
cc -O -pipe -I/home/rz/src/stable3/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5 -I/home/rz/src/stable3/src/gnu/usr.bin/perl/miniperl   -c /home/rz/src/stable3/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5/miniperlmain.c
cc -O -pipe -I/home/rz/src/stable3/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5 -I/home/rz/src/stable3/src/gnu/usr.bin/perl/miniperl    -static -o miniperl miniperlmain.o  -lperl -lm -lcrypt -L/usr/obj/aout/home/rz/src/stable3/src/gnu/usr.bin/perl/libperl
ld: -lperl: no match
*** Error code 1

Stop.
*** Error code 1

Stop.

Thanks for your help.

-- 
"O Oysters, come and walk with us!" The Walrus did beseech.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990225160848.9640794E4>