[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Troubles with ld
- From: Bill Crawford <bill syseng netcom net uk>
- To: enigma-list redhat com
- Cc: "Steven W. Orr" <steveo syslang net>
- Subject: Re: Troubles with ld
- Date: Thu, 31 Jan 2002 14:11:02 +0000 (GMT)
On Wed, 30 Jan 2002 dballester kernpharma com wrote:
> Yes, it's installed locally and the general environment is configured to
> make all the users available to use the oracle tools ( root, oracle owner,
> personal users, daemons...). The applications are runnig well, I can
> connect to the database using sqlplus, Oracle Enterprise
> Manager/DBAStudio...
That's run-time environment, which is not the same thing as getting
the build environment right.
For example, /etc/ld.so.conf is for run-time linking, and will not
affect building things.
You might try "-L$(ORACLE)/lib -lclntsh" together and see.
> "Are you running ld directly or through gcc? If the former, why? If
> not, are you also passing other options to the linker that the compiler
> does not know about?"
>
> I'm using the source rpms, giving all the compilation and installation to
> the spec file. I think that ld is called through gcc. It's important to say
> that I only change the configure option --with-oci8 to point to the oracle
> lib directory. The spec file ( all the process to create an installable rpm
> ) is exactly the same that the original shipped with Red Hat 7.2, only
> change the line --without-oci8 for --with-oci8=oracle_lib_path.
> Any idea?
If you're including the /lib (or whatever the subdirectory is) try
removing it, so your you have --with-oci8=oracle_top_directory rather
than pointing that into the subdirectory. The build process may be
adding elements to the end of the path you gave it, and not finding
the library. This would be like the standard "--prefix" option.
Another thing might be to try "--with-oci8" with no argument and see
if the necessary info can be picked up from the environment.
> Thanks for your time, regards
--
Bill Crawford, Unix Systems Developer, GTS Netcom
work: bill ops netcom net uk, home: billc netcomuk co uk
if (! (awake & TASK_RUNNABLE))
return -ENOCAFFEINE;
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]