Hi all,

maybe somebody can shed some light on this:

I'm trying to compile mod_perl as a dso with apxs on Alpha/Tru64 unix and
there is an error from the linker:

ld -shared -expect_unresolved "*" -O4 -msym -std -s -L/usr/local/lib -o
libperl.so mod_perl.lo perlxsi.lo perl_config.lo perl_util.l
o perlio.lo mod_perl_opmask.lo  Apache.lo Constants.lo ModuleConfig.lo
Log.lo URI.lo Util.lo Connection.lo Server.lo File.lo Table.l
o -Wl,-rpath,/usr/local/lib/perl5/5.6.0/alpha-dec_osf/CORE  -L/usr/local/lib
/usr/local/lib/perl5/5.6.0/alpha-dec_osf/auto/DynaLoade
r/DynaLoader.a -L/usr/local/lib/perl5/5.6.0/alpha-dec_osf/CORE -lperl -lbind
-ldbm -ldb -lm -liconv
ld:
Invalid flag usage: Wl,-rpath,/usr/local/lib/perl5/5.6.0/alpha-dec_osf/CORE,
-Wx,-option must appear after -_SYSTYPE_SVR4
ld: Usage: ld [options] file [...]
*** Exit 1

Where would this flag be defined? How can this be fixed?
I tried this on both a Tru64 5.1 and an older DU4.0b and the error is the
same.

Can anyone give a clue?

-- 
Didier Godefroy
mailto:[EMAIL PROTECTED]

Reply via email to