Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3285399 ] build fails on solaris x64

From: <>
Date: Wed, 4 May 2011 22:20:04 +0000

Bugs item #3285399, was opened at 2011-04-12 17:06
Message generated for change (Settings changed) made by sf-robot
You can respond by visiting:

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: wrong behaviour
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Brent ()
Assigned to: Daniel Stenberg (bagder)
Summary: build fails on solaris x64

Initial Comment:
The `configure' script with curl-7.21.4 produced a Makefile with an extra "-L" at "-L-L/opt/sunstudio12.1/lib", causing the build to fail:

/bin/bash ../libtool --tag=CC --mode=link /opt/sunstudio12.1/bin/cc -xtarget=generic -m64 -xO4 -s -L/usr/lib/amd64 -L/opt/sunstudio12.1/lib -L/www/deps/lib -m64 -L/www/deps/lib -L/usr/lib/amd64 -L-L/opt/sunstudio12.1/lib -L/www/deps/lib -o -rpath /www/deps/lib -lssl -lcrypto -lldap -lrt -lsocket -lnsl -lssl -lcrypto -lsocket -lnsl -ldl -lz -version-info 6:0:2 libcurl_la-file.lo libcurl_la-timeval.lo libcurl_la-base64.lo libcurl_la-hostip.lo libcurl_la-progress.lo libcurl_la-formdata.lo libcurl_la-cookie.lo libcurl_la-http.lo libcurl_la-sendf.lo libcurl_la-ftp.lo libcurl_la-url.lo libcurl_la-dict.lo libcurl_la-if2ip.lo libcurl_la-speedcheck.lo libcurl_la-ldap.lo libcurl_la-ssluse.lo libcurl_la-version.lo libcurl_la-getenv.lo libcurl_la-escape.lo libcurl_la-mprintf.lo libcurl_la-telnet.lo libcurl_la-netrc.lo libcurl_la-getinfo.lo libcurl_la-transfer.lo libcurl_la-strequal.lo libcurl_la-easy.lo libcurl_la-security.lo libcurl_la-krb4.lo libcurl_la-curl_fnmatch.lo libcurl_la-fileinfo.l
o libcurl_la-ftplistparser.lo libcurl_la-wildcard.lo libcurl_la-krb5.lo libcurl_la-memdebug.lo libcurl_la-http_chunks.lo libcurl_la-strtok.lo libcurl_la-connect.lo libcurl_la-llist.lo libcurl_la-hash.lo libcurl_la-multi.lo libcurl_la-content_encoding.lo libcurl_la-share.lo libcurl_la-http_digest.lo libcurl_la-md4.lo libcurl_la-md5.lo libcurl_la-curl_rand.lo libcurl_la-http_negotiate.lo libcurl_la-http_ntlm.lo libcurl_la-inet_pton.lo libcurl_la-strtoofft.lo libcurl_la-strerror.lo libcurl_la-hostares.lo libcurl_la-hostasyn.lo libcurl_la-hostip4.lo libcurl_la-hostip6.lo libcurl_la-hostsyn.lo libcurl_la-hostthre.lo libcurl_la-inet_ntop.lo libcurl_la-parsedate.lo libcurl_la-select.lo libcurl_la-gtls.lo libcurl_la-sslgen.lo libcurl_la-tftp.lo libcurl_la-splay.lo libcurl_la-strdup.lo libcurl_la-socks.lo libcurl_la-ssh.lo libcurl_la-nss.lo libcurl_la-qssl.lo libcurl_la-rawstr.lo libcurl_la-curl_addrinfo.lo libcurl_la-socks_gssapi.lo libcurl_la-socks_sspi.lo libcurl_la-curl_sspi.lo libcurl_la-slis
t.../libtool: line 4983: cd: -/: invalid option
cd: usage: cd [-L|-P] [dir]
libtool: link: cannot determine absolute directory name of `-L/opt/sunstudio12.1/lib'
*** Error code 1
make: Fatal error: Command failed for target `'
Current working directory /opt/system/software/src/curl-7.21.4/lib
*** Error code 1
make: Fatal error: Command failed for target `all'


Environment: Solaris 10 on Sun AMD x64

Ran configure with:
$ CC="/opt/sunstudio12.1/bin/cc" CFLAGS="-xtarget=generic -m64 -xO4" CXX="CC" CXXFLAGS="-xtarget=generic -m64 -xO4" LDFLAGS="-L/usr/lib/amd64 -L/opt/sunstudio12.1/lib -L/www/deps/lib -m64" ./configure --prefix=/www/deps --with-ssl=/www/deps --with-zlib=/www/deps


>Comment By: SourceForge Robot (sf-robot)
Date: 2011-05-04 22:20

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).


Comment By: Daniel Stenberg (bagder)
Date: 2011-04-20 21:34

Thanks for reporting this issue and helping us improve curl and libcurl.

We're awaiting feedback in this issue. Due to this, I have set the state
of this issue to pending and it will automatically get closed later on
unless we get further info.

Please consider answering the outstanding questions or providing the
missing info so that we can proceed to resolve this issue!


Comment By: Daniel Stenberg (bagder)
Date: 2011-04-12 20:01

is that extra -L what causes the "cd: -/: invalid option" output?

Anyway, can you check your config.log file after configure has run to see
if you can detect where that superfluous -L is added and why?


You can respond by visiting:
Received on 2011-05-05

These mail archives are generated by hypermail.

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

File upload with ASP.NET