Article View: es.comp.os.linux.programacion
Article #9267Re: [HP-UX] Problemas con librerias dinamicas
From: edusito
Date: Tue, 20 Aug 2002 16:41
Date: Tue, 20 Aug 2002 16:41
26 lines
2035 bytes
2035 bytes
> Tal vez un enlace blando ( soft link pa los ingreses) te funcione, si > no me equivoco, en HP el comando ln -s src target funciona > correctamente. aunque debo reconocer q hace muuucho q no toco uno. > ln -s /pathdelalib/libclntsh.sl.8.0 /pathdelalib/libclntsh.sl.1.0 Esto es lo que hay actualmente (ya es un enlace blando): /u01/app/oracle/product/8.1.7/lib>ls -l libclntsh.sl lrwxrwxr-x 1 oracle dba 16 Jul 2 17:34 libclntsh.sl -> libclntsh.sl.8.0 Lo que pasa es que el ejecutable no hace referencia a libclntsh.sl sino al "destino" de este enlace libclntsh.sl.1.0, de ah� el problema de versiones. con el comando chatr he desabilitado el "embedded path" de la librer�a y he habilitado la b�squeda en $SHLIB_PATH (igual que si compilase con -Wl,s+) lo �nico que no est� buscando libclntsh.sl sino libclntsh.1.0 (que efectivamente no existe en mi sistema). Lo de habilitar el softlink (libclntsh.sl.1.0) me parece un poco chapucero ya que funcionar�a hasta un nuevo cambio de versi�n de Oracle. Muchas gracias a los dos, a uno por educado y a ti por intentar ayudarme.
Technical Details
Message-ID:
<393aced8.0208200841.7af9c2ea@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailReferences:
<393aced8.0208190534.13f9c646@posting.google.com> <ajspmk$1dlcvr$1@ID-148170.news.dfncis.de>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,efefcf528386b365 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-08-20 09:41:52 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: zoyeredu@yahoo.com (edusito) Newsgroups: es.comp.os.linux.programacion Subject: Re: [HP-UX] Problemas con librerias dinamicas Date: 20 Aug 2002 09:41:52 -0700 Organization: http://groups.google.com/ Lines: 26 Message-ID: <393aced8.0208200841.7af9c2ea@posting.google.com> References: <393aced8.0208190534.13f9c646@posting.google.com> <ajspmk$1dlcvr$1@ID-148170.news.dfncis.de> NNTP-Posting-Host: 62.81.27.254 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1029861712 20893 127.0.0.1 (20 Aug 2002 16:41:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 20 Aug 2002 16:41:52 GMT