ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Denis Yakimov <dnkmv@nightmail.ru>
To: community@altlinux.ru
Subject: [Comm] небольшая проблемка с libclntsh.so.8.0
Date: 04 May 2003 12:14:23 +0400
Message-ID: <1052036006.10552.15.camel@home.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 943 bytes --]

Здравствуйте.

Неприятная особенность возникла при установке Oracle 8.1.7.
А именно, пакеты собранные с возможностью работы с этим самым ораклом
хотят libclntsh.so.8.0. 

Попробовал сделать фиктивный пакет, где данный файл объявлялся
соответствующим симлинком на $ORACLE_HOME/lib/libclntsh.so.8.0.

Все получилось достаточно красиво:

[den@home den]$ rpm -qa | grep libclntsh
libclntsh-0.1-alt0

[den@home den]$ rpm -ql libclntsh
/usr/lib/libclntsh.so.8.0

[den@home SPECS]$ rpm -qf /usr/lib/libclntsh.so.8.0
libclntsh-0.1-alt0

[den@home SPECS]$ ls -l /usr/lib/libclntsh.so.8.0
lrwxrwxrwx    1 root     root           50 Май  4 11:05
/usr/lib/libclntsh.so.8.0 ->
/opt/oracle/app/product/8.1.7/lib/libclntsh.so.8.0


Но мало этого оказалось для rpm и apt. Ругаются они сильно.
Хотят сносить нужный мне софт (i.e. tora) из-за якобы отсутствия данного
файла. Как быть? Что делать?

spec-файл прикладываю.

-- 
Denis Yakimov <dnkmv@nightmail.ru>

[-- Attachment #2: libclntsh.so.spec --]
[-- Type: text/plain, Size: 373 bytes --]

Name: libclntsh
Version: 0.1
Release: alt0

Group: Databases
Summary: A Patch ;)
License: GPL

%description
libclntsh.so.8.0 link

%prep

%build

%install
mkdir -p %buildroot/usr/lib
ln -s $ORACLE_HOME/lib/libclntsh.so.8.0 %buildroot/usr/lib/libclntsh.so.8.0

%files
/usr/lib/libclntsh.so.8.0

%changelog
* Sun May  4 2003 Denis Yakimov <dnkmv@mail.ru> 0.1
- Initial build

             reply	other threads:[~2003-05-04  8:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-04  8:14 Denis Yakimov [this message]
2003-05-04 12:25 ` Valentin Nechayev
2003-05-04 13:51   ` Denis Yakimov
2003-05-04 14:18 ` Vitaly Lugovsky
2003-05-04 17:03   ` Denis Yakimov
2003-05-04 17:39     ` Vitaly Lugovsky
2003-05-05 18:37       ` Denis Yakimov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1052036006.10552.15.camel@home.ru \
    --to=dnkmv@nightmail.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git