ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Aleksey Novodvorsky" <a.e.nvdv@gmail.com>
To: "ALT Linux Sisyphus discussion list" <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Oracle 10g на ALT Linux Server 4.0
Date: Thu, 26 Jul 2007 17:56:01 +0400
Message-ID: <777d80610707260656j6cbd83efob8cd2045142a9023@mail.gmail.com> (raw)
In-Reply-To: <46A8A637.5070906@zaz.zp.ua>

On 7/26/07, Gennadiy Redko <uit1@zaz.zp.ua> wrote:
> Aleksey Novodvorsky пишет:
> > On 7/26/07, Gennadiy Redko <uit1@zaz.zp.ua> wrote:
> >> Damir Shayhutdinov пишет:
> >>>>>> Не находит объекты из библиотек libskgns.so и libsrvmhas10.so. Оба файла
> >>>>>> присутствуют в $ORACLE_HOME/lib. Причем если определить переменную
> >>>>>> USRLIBS="-lskgxns" то объекты этой библиотеки находятся, но вот с prsr_*
> >>>>>> из libsrvmhas10.so такое не прокатывает. Не могу понять в чем у них
> >>>>>> разница.
> >>> Очевидно, что дело все в --as-needed (Известная фича Сизифа и всего 4.0).
> >>>
> >>>>>> Единственный способ который помог, так это дописать "-lskgxns
> >>>>>> -lsrvmhas10" в файл $ORACLE_HOME/lib/ldflags. К сожалению через
> >>>>>> переменную передать эти параметры мне так и не удалось.
> >>>>>>
> >>>>> Попробуйте такой вариант:
> >>>>>
> >>>>> USRLIBS="-L$ORACLE_HOME/lib -lskgxns -lsrvmhas10"
> >>>>>
> >>>>>
> >>>> Ну если бы небыло этого -L то и skgxns не находилась. Тем не менее... на
> >>>> всякий случай попробовал. Вот результат. То что было в USRLIBS
> >>>> добавляется в конец этой гигантской строки.
> >>>>
> >>>>
> >>>> [oracle@clash lib]$ USRLIBS="-L$ORACLE_HOME/lib -lskgxns -lsrvmhas10"
> >>>> make -f ins_rdbms.mk ioracle
> >>>> chmod 755 /opt/oracle/product/10g/bin
> >>>>
> >>>>  - Linking Oracle
> >>>> rm -f /opt/oracle/product/10g/rdbms/lib/oracle
> >>>> gcc  -o /opt/oracle/product/10g/rdbms/lib/oracle
> >>> !!! Внимание: линкуется исполняемый файл под названием oracle !!!
> >>>
> >>>> -L/opt/oracle/product/10g/rdbms/lib/ -L/opt/oracle/product/10g/lib/
> >>> [покусано непринципиальной мешанины символов]
> >>>> -Wl,-rpath,/opt/oracle/product/10g/lib -lm -L/opt/oracle/product/10g/lib
> >>>> -lskgxns -lsrvmhas10   `cat /opt/oracle/product/10g/lib/sysliblist` -ldl
> >>>> -lm -L/opt/oracle/product/10g/lib -lskgxns -lsrvmhas10
> >>>> -L/opt/oracle/product/10g/lib
> >>>> /opt/oracle/product/10g/lib//libcore10.a(lcd.o): In function `lcdprm':
> >>>> lcd.c:(.text+0x8e8): warning: the `gets' function is dangerous and
> >>>> should not be used.
> >>>> /opt/oracle/product/10g/lib//libclsra10.so: undefined reference to
> >>>> `prsr_release_asm_config'
> >>> !!! Внимание - символов не хватает у объекта libclsra10.so !!!
> >>> А это не тот объект, который сейчас линкуется. Типичная проблема
> >>> --as-needed. Товарищи Оракловцы ниасилили обеспечить правильный
> >>> порядок линковки.
> >>>
> >>>
> >>> Решение 1: каким-либо образом прописать в LDFLAGS флаг -Wl,--no-as-needed
> >>>
> >>> Например, в $ORACLE_HOME/lib/ldflags.
> >>>
> >>> Решение 2(невероятной сложности): исправить их Makefile и положить
> >>> куда-нибудь, чтобы все могли пользоваться.
> >> Напишите в их рассылку.
> >> Я думаю, что Вам будут только благодарны.
> > Нет, увы.
> >
> >
> >> Можно и sr заполнить, но тогда проблему нужно воспроизвести на
> >> каком-то из поддерживаемых Oracle дистрибутивов.
> >
> > У них нет as-needed. Пока.
> >
> > Так что это наша и только наша проблема.
> >
> А Вы планируете включать поддержку Oracle в свой Server?

Server вышел. Мы выпустим разъяснение о том, как запускать Oracle на нем.
Сейчас мы проходим сертификацию на совместмость с DB2.
Rgrds, Алексей

  reply	other threads:[~2007-07-26 13:56 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-26 17:27 Igor Muratov
2007-07-26 12:39 ` Epiphanov Sergei
2007-07-26 17:45   ` Igor Muratov
2007-07-26 12:54     ` Gennadiy Redko
2007-07-26 17:58       ` Igor Muratov
2007-07-26 13:00     ` Epiphanov Sergei
2007-07-26 12:41 ` Epiphanov Sergei
2007-07-26 17:55   ` Igor Muratov
2007-07-26 13:05     ` Damir Shayhutdinov
2007-07-26 13:10       ` Gennadiy Redko
2007-07-26 13:21         ` Damir Shayhutdinov
2007-07-26 13:21         ` Aleksey Novodvorsky
2007-07-26 13:48           ` Gennadiy Redko
2007-07-26 13:56             ` Aleksey Novodvorsky [this message]
2007-07-26 13:59             ` Sergey
2007-07-26 15:44       ` Igor Muratov
2007-07-26 13:08     ` Motsyo Gennadi aka Drool
2007-07-26 18:11       ` Igor Muratov
2007-07-26 14:15 ` Андрей Черепанов
2007-07-26 15:34   ` Igor Muratov
2007-07-26 15:39     ` Андрей Черепанов
2007-07-27 10:11       ` Igor Muratov
2007-07-29 17:04       ` Dmitry V. Levin
2007-07-30  2:31         ` Igor Muratov
2007-07-26 15:40     ` Damir Shayhutdinov
2007-07-26 15:47       ` Igor Muratov
2007-07-26 15:52         ` Gennadiy Redko
2007-07-26 16:07           ` Igor Muratov
2007-07-26 16:34             ` Gennadiy Redko
2007-07-26 16:40               ` Igor Muratov
2007-07-26 16:59                 ` Damir Shayhutdinov
2007-07-26 17:19                   ` Igor Muratov
2007-07-26 17:32                     ` Damir Shayhutdinov
2007-07-26 17:38                       ` Igor Muratov
2007-07-26 18:15                       ` Igor Muratov
2007-07-27 10:14                       ` Igor Muratov
2007-07-26 14:50 ` Gennadiy Redko
2007-07-26 14:59   ` Gennadiy Redko
2007-07-26 15:21     ` Gennadiy Redko
2007-07-26 15:34   ` Igor Muratov
2007-07-27 15:41 ` Igor Muratov
2007-07-27 15:47   ` Valery V. Inozemtsev
2007-07-27 16:12     ` Igor Muratov
2007-07-27 16:14       ` Valery V. Inozemtsev
2007-07-30  7:02   ` Андрей Черепанов
2007-08-02 15:24     ` Igor Muratov
2007-08-02 15:59       ` Андрей Черепанов
2007-08-03  6:28       ` Андрей Черепанов
2007-08-03  8:48         ` Dmitry V. Levin
2007-08-03  9:52           ` Андрей Черепанов
2007-08-03  9:54             ` Dmitry V. Levin
2007-08-03 15:46               ` Igor Muratov
2007-08-03 19:26         ` Igor Muratov
2007-08-03 22:59           ` Michael Shigorin
2007-07-27 18:38 ` Igor Muratov
2007-08-02 16:01 ` Igor Muratov
2007-08-02 19:08   ` Anton Farygin
2007-08-02 19:40     ` Igor Muratov
2007-08-09 18:11   ` Igor Muratov
2007-08-09 22:34     ` Aleksey Novodvorsky
2007-08-15 15:58     ` Anton Farygin

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=777d80610707260656j6cbd83efob8cd2045142a9023@mail.gmail.com \
    --to=a.e.nvdv@gmail.com \
    --cc=sisyphus@lists.altlinux.org \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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