Opened 19 years ago
Last modified 19 years ago
#893 closed defect (fixed)
Linking on Solaris 9 fails because nanosleep() is in librt
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
when trying to make gdal on Solaris 9 SPARC we failed during linking, because ld did not found the function "nanosleep". By Googling I found out that nanosleep is in librt, so a -lrt is missing. After adding this to the LIBS variable in GDALmake.opt it works. So maybe this is missing in your configure-tests. Configure Line was: ./configure --prefix=/pangaea/gnu --without-python --with-xerces --with-xerces- inc=/pangaea/gnu/include --with-xerces-lib="-L/pangaea/gnu/lib -lxerces-c - pthreads" --with-libz=/opt/csw --with-png=/opt/csw --with-threads="-pthreads"
Note:
See TracTickets
for help on using tickets.