cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1232299 ] HPUX curl hardcoding library paths

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 05 Jul 2005 06:51:55 -0700

Bugs item #1232299, was opened at 2005-07-04 18:29
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1232299&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: compile or build problem
Group: portability problem
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: HPUX curl hardcoding library paths

Initial Comment:
Hi all,
      In HP-UX, curl is getting hardcoded. i.e if i
move the installed directory into some other
<new.directory>, curl executable is trying to load
<old.directory>/lib/libcurl.sl.
 
      Can somebody tell me how to solve this problem.

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2005-07-05 15:51

Message:
Logged In: YES
user_id=1110

make DESTDIR=/somewhere simply installs the files in the
given directory prefix rather than what was said in the
--prefix, which is nice if you for example build for a
system that uses /a/b but that mounts its file system from
/c/d as you can then use --prefix /a/b and then install it
make DESTDIR =/c/d install.

But I don't think it helps you if you move the lib after you
installed curl, if curl was linked to check for the lib in a
hardcoded path.

I don't know enough about HP-UX to tell or understand why
libtool does this for you.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2005-07-05 12:10

Message:
Logged In: NO

Hi,
  Thank you for replying. I am using --prefix to install.
Can you tell me what is that DESTDIR option. Even if i put
DESTDIR, will it solve my problem of moving that built
libcurl to some other place [other than DESTDIR].

Thanks

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2005-07-04 23:08

Message:
Logged In: YES
user_id=1110

You mean after you did 'make install' ?

curl/libcurl is built with libtool, and this is within
libtool's domain. I'm not sure how to disable this.

Can't you simply use configure --prefix and make DESTDIR=
install to work-around this problem?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1232299&group_id=976
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-tracker
Received on 2005-07-05

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET