Author: Victor Churchill Date: To: Hampshire LUG Discussion List Subject: Re: [Hampshire] Compatibilty issues installing 64 bit Oracle onto
64-bit Ubuntu
2009/4/4 Hugo Mills <hugo@???>:
>> oracle@pe2950:~/install/database$ export
>> LD_LIBRARY_PATH="/lib32:/usr/lib32:$LD_LIBRARY_PATH"
>>
> LD_LIBRARY_PATH is used by the *runtime* linker (ld.so) only, I
> believe. So it won't have any effect on your current problem, which is
> the *compile-time* linker (ld).
Ah, Right. >
>> I am trying to find the line in the make file that corresponds to this
>> gcc line but that is itself quite hard. Does not seem to be quite
>> where I thought, but it is of course all $(PARAMETER)ised.
>
> This is often the case with complex make files, sadly. If you can
> find the place where -lpthreads is set into a variable, you may be
> able to tack the -L/lib32 -L/usr/lib32 on the end of that.
Getting to be a refrain here... "tried that now, but it still doesn't work..."
The gcc line is now
gcc -m32 -o ctxhx
-L/u01/app/oracle/ctx/lib32/
-L/u01/app/oracle/lib32/
-L/u01/app/oracle/lib32/stubs/
-L/lib32/
-L/usr/lib32/
/u01/app/oracle/ctx/lib/ctxhx.o
-L/u01/app/oracle/ctx/lib/
-ldl -lm -lctxhx -Wl,-rpath,/u01/app/oracle/ctx/lib -lsnls10 -lnls10
-lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10
-lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat
/u01/app/oracle/lib/sysliblist`