Bug 233561 - gdal-config --dep-libs returns -L/usr/lib/lib
Summary: gdal-config --dep-libs returns -L/usr/lib/lib
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gdal
Version: 6
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Balint Cristian
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-03-23 08:04 UTC by Ralf Corsepius
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-04-02 11:04:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ralf Corsepius 2007-03-23 08:04:06 UTC
Description of problem:

Another issue with gdal-config ;)

gdal-config --dep-libs returns -L/usr/lib/lib

This directory doesn't exist nor does would it make sense

# gdal-config --dep-libs
-L/usr/lib -lgeos -lgeos_c -lodbc -lodbcinst -lxerces-c -L/usr/lib/hdf
-L/usr/lib/netcdf-3 -ljasper -lhdf5 -lmfhdf -ldf -logdi -lgif -ljpeg -ltiff
-lpng -lnetcdf -lcfitsio -lgrass_vect -lgrass_dig2 -lgrass_dgl -lgrass_rtree
-lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -lgrass_I -lgrass_gproj
-lgrass_vask -lgrass_gmath -lgrass_gis -lgrass_datetime -lpq -L/usr/lib -lpq -lz
-lpthread -lm -lrt -ldl -L/usr/lib/lib -ldap -ldapclient -ldapserver -lpthread
-lrx -L/usr/kerberos/lib -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
-lresolv -ldl -lidn -lssl -lcrypto -lz -L/usr/lib -lxml2 -lz -lm -lsqlite3
-L/usr/kerberos/lib -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv
-ldl -lidn -lssl -lcrypto -lz -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl
-lm -L/usr/lib -lssl -lcrypto


Version-Release number of selected component (if applicable):
gdal-1.4.0-17.fc6

Expected results:
gdal-config not to reference invalid dirs.

Additional info:
I don't know where this -L/usr/lib/lib originates from, but I'd assume presense
of -L/usr/lib/lib to be a side-effect of a bug elsewhere.

Comment 1 Balint Cristian 2007-04-02 11:04:24 UTC
fixed.

gdal-config --dep-libs
-L/usr/lib64 -lgeos -lgeos_c -lodbc -lodbcinst -lxerces-c -L/usr/lib64/hdf 
-L/usr/lib64/netcdf-3 -ljasper -lhdf5 -lmfhdf -ldf -logdi -lgif -ljpeg -ltiff
 -lpng -lnetcdf -lcfitsio -lgrass_vect -lgrass_dig2 -lgrass_dgl -lgrass_rtree
 -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -lgrass_I -lgrass_gproj 
-lgrass_vask -lgrass_gmath -lgrass_gis -lgrass_datetime -lpq -L/usr/lib64
 -lpq -lz -lpthread -lm -lrt -ldl -ldap -ldapclient -ldapserver -lpthread 
-lrx -lcurl -lxml2 -lz -lm -lsqlite3 -lcurl -L/usr/lib64/mysql -lmysqlclient
 -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto


Note You need to log in before you can comment on or make changes to this bug.