Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#5455 closed defect (fixed)

Extra linking libraries in configure test of armadillo may throw warning

Reported by: larrysh Owned by: warmerdam
Priority: normal Milestone: 2.0.0
Component: ConfigBuild Version: 1.11.0
Severity: normal Keywords:
Cc:

Description

The changeset 25303 in response to ticket #4923 adds a ${LIBS} on to the end of every compile test command.

As part of finding libs in configure, it appears that sometimes 'lib64' is added to search paths in ${LIBS}, even if it does not exist. This, and any other non-existent lib directories, causes the test compile to throw a warning, e.g.:

ld: warning: directory not found for option '-L/usr/local/libdap/3.12.1/lib64'

which, in turn, causes the armadillo compile test to fail, even though the compiling succeeds.

Is the extra ${LIBS} necessary? Doesn't seem like any other libs are necessary for the test compile to succeed.

Change History (3)

comment:1 by Even Rouault, 10 years ago

trunk r27316 "configure: remove dollar{LIBS} in Armadillo detection test (#5455)"

comment:2 by Even Rouault, 10 years ago

Milestone: 2.0
Resolution: fixed
Status: newclosed

comment:3 by Even Rouault, 9 years ago

Milestone: 2.02.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.