Brad Lanam wrote:
On Wed, Dec 31, 2003 at 03:05:17PM -0800, Stas Bekman wrote:

No, no, this is not a good solution, since others have the same problem.
You should leave perl as is. Who sets
LD_RUN_PATH="/export/apache2_dev/lib:/usr/lib"? I can't see us setting this
value. Where does it come from? It must be ExtUtils::MakeMaker who does
that, but where does it take these values from? especially
"/export/apache2_dev/lib". Is it in your environment?


    Nothing in my environment.
    Yes, it must be ExtUtils::MakeMaker.
    The only place LD_RUN_PATH is set is in xs/APR/APR.

    It must be finding the -L/export/apache2_dev/lib in $libs
    (which it gets from apr-config) and setting LD_RUN_PATH
    appropriately (or so it thinks).

So why doesn't it do the same for perl's ldflags? Your have:


ldflags ='-xO3 -L/usr/local/lib -R/usr/local/lib -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/prod/lib '

why doesn't it push -L/usr/local/lib into LD_RUN_PATH? Is it because we don't supply them in LIBS? It adds them via (on my machine):

# dynamic_lib => { OTHERLDFLAGS=>q[ -L/usr/local/lib] }

I'd guess that your xs/APR/APR/Makefile has:

# dynamic_lib => { OTHERLDFLAGS=>q[-xO3 -L/usr/local/lib -R/usr/local/lib -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/prod/lib ] }
or is it in LDDLFLAGS?


Can I see the top of xs/APR/APR/Makefile? The section:
#   MakeMaker Parameters:


__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to