Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: How to determine $(DY)LD_LIBRARY_(PATH)

by merlyn (Sage)
on Feb 02, 2007 at 00:51 UTC ( [id://597863]=note: print w/replies, xml ) Need Help??


in reply to How to determine $(DY)LD_LIBRARY_(PATH)

Since this seems to be an XY problem, can I ask if you're actually looking for a packaging solution? In which case, see PAR. Or if you're looking to install your scripts so they always work, see ExtUtils::MakeMaker or Module::Install.
  • Comment on Re: How to determine $(DY)LD_LIBRARY_(PATH)

Replies are listed 'Best First'.
Re^2: How to determine $(DY)LD_LIBRARY_(PATH)
by rvosa (Curate) on Feb 02, 2007 at 03:12 UTC
    Never mind, I got it - I needed $Config{ldlibpthname}. Thanks!
Re^2: How to determine $(DY)LD_LIBRARY_(PATH)
by rvosa (Curate) on Feb 02, 2007 at 01:11 UTC
    Here's the problem: I have to write out a configuration file that, after building expat, points to where the libraries are installed - and do so portably, so that on an OS that uses $LD_LIBRARY_PATH it'll write:
    LD_LIBRARY_PATH=/path/to/expat:$LD_LIBRARY_PATH; export LD_LIBRARY_PAT +H

    ...and on OS's that use $DYLD_LIBRARY_PATH the same thing, and on windows a similar manipulation of %PATH%.
Re^2: How to determine $(DY)LD_LIBRARY_(PATH)
by sgt (Deacon) on Feb 02, 2007 at 13:09 UTC

    hi, actually I am not very fond of the term XY problem, as I find it misleading in the sense it is an old and important problem of mathematical physics. It is true that xy with no other context could make one think of correlation, but here it's the absence of "correlation" that is emphasized.
    I would call it a "WHY not X" problem ;)

    cheers --stephan maybe I am biased, I used to be a theoretical physicist ;)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://597863]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-04-19 15:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found