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)

configure.out (11.8 KB ) - added by tconrad 16 years ago.
Output of configure
gmake.out.1 (766.3 KB ) - added by tconrad 16 years ago.
First Half of Output of gmake
gmake.out.2 (239.3 KB ) - added by tconrad 16 years ago.
Second Half of Output of gmake

Download all attachments as: .zip

Change History (4)

by tconrad, 16 years ago

Attachment: configure.out added

Output of configure

by tconrad, 16 years ago

Attachment: gmake.out.1 added

First Half of Output of gmake

by tconrad, 16 years ago

Attachment: gmake.out.2 added

Second Half of Output of gmake

comment:1 by warmerdam, 16 years ago

Component: defaultConfigBuild
Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.