Opened 16 years ago
Closed 16 years ago
#2514 closed defect (invalid)
Trouble Building GDAL 1.5.2 on 64-bit Linux
Reported by: | tconrad | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ConfigBuild | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
Hello:
When running gmake on GDAL 1.5.2 on Linux 2.6.9-78 SMP x86_64, gcc/g++ 3.4.6, I receive an error message:
/usr/bin/ld: /opt/apps/ots/jpeg/jpeg2000/lib/libjasper.a(jas_seq.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a shared object;
recompile with -fPIC
/opt/apps/ots/jpeg/jpeg2000/lib/libjasper.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
I tried the solution given in http://trac.osgeo.org/gdal/wiki/JasPer but it did not work for me (received the same error). Is there something else I can try?
Attached are the outputs for configure and gmake.
---Thanx
---Tony Conrad
Attachments (3)
Change History (4)
by , 16 years ago
Attachment: | configure.out added |
---|
comment:1 by , 16 years ago
Component: | default → ConfigBuild |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Tony,
Are you really really sure you did a clean build and install of JasPer with the -fPIC flag in effect? Did you notice if it was actually being used in the JasPer build (it should appear on every compile line).
This problem is really a JasPer build issue not a GDAL build issue and there is a limited amount we can do.
Output of configure