Skip Menu |

This queue is for tickets about the Devel-CheckLib CPAN distribution.

Report information
The Basics
Id: 81330
Status: open
Priority: 0/
Queue: Devel-CheckLib

People
Owner: Nobody in particular
Requestors: raherh [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.98
Fixed in: (no value)



Subject: assert_lib with LIBS argument on Solaris
Running xml2-config --libs script on Solaris (distributed with libxml2 library) gives: -L/usr/local/lib -R/usr/local/lib -lxml2 -lz -lpthread -liconv -lm -lsocket -lnsl -R is not accepted by assert_lib function with LIBS argument and dies with: LIBS argument badly-formed Function accepts only arguments beginning with "-l" or "-L". Radek
What compiler did you use? And what mean of -R ? On 2012-11月-21 水 14:52:29, rahe wrote: Show quoted text
> Running xml2-config --libs script on Solaris (distributed with libxml2 > library) gives: > > -L/usr/local/lib -R/usr/local/lib -lxml2 -lz -lpthread -liconv -lm > -lsocket -lnsl > > -R is not accepted by assert_lib function with LIBS argument and dies > with: > LIBS argument badly-formed > > Function accepts only arguments beginning with "-l" or "-L". > > Radek
From: raherh [...] gmail.com
On Fri Nov 23 10:27:08 2012, mattn wrote: Show quoted text
> What compiler did you use? And what mean of -R ? >
It is a package from sunfreeware.com. Packages are compiled by gcc. And -R is a runtime library linker option. It's special for Solaris. Radek
On Fri Nov 23 10:27:08 2012, mattn wrote: Show quoted text
> What compiler did you use? And what mean of -R ?
Please see https://rt.cpan.org/Ticket/Display.html?id=81297 for more explanation and a fix. On Solaris, 'xml2-config --libs' outputs some '-R/path/to/lib' options, which are runtime library search paths.