ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Q: как правильно добавлять библиотеки в левых местах?
@ 2007-09-12 11:41 Igor Zubkov
  2007-09-12 12:33 ` Andrey Rahmatullin
  0 siblings, 1 reply; 5+ messages in thread
From: Igor Zubkov @ 2007-09-12 11:41 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Hi!

Тут появился вопрос как правильно добавить rpm'у что надо искать не в
стандартных местах библиотеки?

Вот лог:

+ /usr/lib/rpm/brp-alt
Cleaning files in /home/icesik/tmp/nx-buildroot (auto)
mode of `./usr/lib/nx/libX11.so.6' changed to 0644 (rw-r--r--)
mode of `./usr/lib/nx/libX11.so.6.2' changed to 0644 (rw-r--r--)
mode of `./usr/lib/nx/libXext.so.6' changed to 0644 (rw-r--r--)
mode of `./usr/lib/nx/libXext.so.6.4' changed to 0644 (rw-r--r--)
mode of `./usr/lib/nx/libXrender.so.1' changed to 0644 (rw-r--r--)
mode of `./usr/lib/nx/libXrender.so.1.2' changed to 0644 (rw-r--r--)
mode of `./usr/lib/nx/libXcomp.so.2' changed to 0644 (rw-r--r--)
mode of `./usr/lib/nx/libXcomp.so.2.1.0' changed to 0644 (rw-r--r--)
mode of `./usr/lib/nx/libXcompext.so.2' changed to 0644 (rw-r--r--)
mode of `./usr/lib/nx/libXcompext.so.2.1.0' changed to 0644 (rw-r--r--)
Verifying and fixing files in /home/icesik/tmp/nx-buildroot
(binconfig,pkgconfig,libtool)
Compressing files in /home/icesik/tmp/nx-buildroot (auto)
Adjusting library links in /home/icesik/tmp/nx-buildroot
./usr/lib:
Verifying ELF objects in /home/icesik/tmp/nx-buildroot
(arch=normal,fhs=normal,rpath=normal,stack=normal,textrel=relaxed,unresolved=normal)
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: not found: libXcomp.so.2
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: undefined symbol:
_NXDisplayErrorFunction
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: undefined symbol:
_NXHandleDisplayError
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: undefined symbol:
_NXLostSequenceFunction
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: undefined symbol:
_NXDisplayBlockFunction
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: undefined symbol: NXTransReadable
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: undefined symbol: NXTransFlush
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: undefined symbol: NXTransWrite
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: undefined symbol: NXTransPrepare
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: undefined symbol: NXTransSelect
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: undefined symbol: NXTransClose
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: undefined symbol: NXTransCreate
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: undefined symbol:
NXTransReadVector
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: undefined symbol: NXTransRunning
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: undefined symbol: NXTransExecute
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: undefined symbol: NXTransRead
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: undefined symbol:
NXTransWriteVector
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6: undefined symbol: NXTransAgent
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: not found: libXcomp.so.2
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: undefined symbol:
_NXDisplayErrorFunction
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: undefined symbol:
_NXHandleDisplayError
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: undefined symbol:
_NXLostSequenceFunction
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: undefined symbol:
_NXDisplayBlockFunction
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: undefined symbol:
NXTransReadable
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: undefined symbol: NXTransFlush
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: undefined symbol: NXTransWrite
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: undefined symbol:
NXTransPrepare
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: undefined symbol: NXTransSelect
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: undefined symbol: NXTransClose
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: undefined symbol: NXTransCreate
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: undefined symbol:
NXTransReadVector
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: undefined symbol:
NXTransRunning
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: undefined symbol:
NXTransExecute
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: undefined symbol: NXTransRead
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: undefined symbol:
NXTransWriteVector
verify-elf: WARNING: ./usr/lib/nx/libX11.so.6.2: undefined symbol: NXTransAgent
verify-elf: ERROR: ./usr/lib/nx/nxagent: not found: libXcomp.so.2
verify-elf: ERROR: ./usr/lib/nx/nxagent: not found: libXcompext.so.2
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXImageCacheSize
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: _NXUnsetLibraryPath
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol:
NXSetDisplaySynchronizationHandler
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXForceDisplayError
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXInitDisplay
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol:
NXSetDisplayErrorPredicate
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol:
NXGetControlParameters
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: _XSelect
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXAbortSplit
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXEncodeAlpha
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXCleanImage
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXTransCreate
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXTransDialog
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXQueryDisplay
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXEncodeJpeg
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXSetUnpackAlpha
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXSetDisplayPolicy
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXFlushDisplay
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXFreeCache
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol:
NXGetCollectedInputFocus
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol:
NXGetCollectPropertyResource
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXSetUnpackGeometry
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXEncodePng
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXGetFontParameters
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXTransRunning
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXAllocSplit
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol:
NXSetUnpackAlphaCompat
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol:
NXSetDisplayBlockHandler
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXGetShmemParameters
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXEncodeRle
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXStartSplit
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXGetUnpackParameters
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXTransSignal
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXTransExit
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXQueryDisplayError
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXTransAlert
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXFinishSplit
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXSetCacheParameters
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXEndSplit
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXSetExposeParameters
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXCacheFindImage
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXCollectProperty
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol:
NXSetDisplayFlushHandler
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXFreeSplit
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXInitCache
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol:
NXGetCollectedGrabPointer
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol:
NXGetCollectGrabPointerResource
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXCommitSplit
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXTransContinue
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXCacheAddImage
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol:
NXGetCollectedProperty
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXEncodeRgb
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXPutPackedImage
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol:
NXSetDisplayCongestionHandler
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXUnsetLibraryPath
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXCollectGrabPointer
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXHandleDisplayError
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXResetDisplay
verify-elf: ERROR: ./usr/lib/nx/nxagent: undefined symbol: NXTransDestroy
verify-elf: WARNING: ./usr/lib/nx/libXcomp.so.2: TEXTREL entry found: 0x0
verify-elf: WARNING: ./usr/lib/nx/libXcomp.so.2.1.0: TEXTREL entry found: 0x0
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: not found: libXcomp.so.2
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol:
_NXDisplayErrorFunction
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol:
_NXUnsetLibraryPath
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol:
_NXHandleDisplayError
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol:
_NXDisplaySynchronizationFunction
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol:
_NXDisplayFlushFunction
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol:
_NXDisplayStatisticsFunction
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol:
_NXLostSequenceFunction
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol:
_NXDisplayBlockFunction
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol:
_NXDisplayCongestionFunction
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol:
NXTransReadable
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol:
NXTransFlush
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol:
MethodColorMask
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol:
NXTransClose
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol:
MethodBitsPerPixel
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol:
NXTransHandler
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol: md5_finish
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol:
NXTransFlushable
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol: md5_append
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol:
NXTransPolicy
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2: undefined symbol: md5_init
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: not found: libXcomp.so.2
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: _NXDisplayErrorFunction
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: _NXUnsetLibraryPath
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: _NXHandleDisplayError
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: _NXDisplaySynchronizationFunction
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: _NXDisplayFlushFunction
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: _NXDisplayStatisticsFunction
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: _NXLostSequenceFunction
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: _NXDisplayBlockFunction
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: _NXDisplayCongestionFunction
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: NXTransReadable
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: NXTransFlush
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: MethodColorMask
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: NXTransClose
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: MethodBitsPerPixel
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: NXTransHandler
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: md5_finish
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: NXTransFlushable
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: md5_append
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: NXTransPolicy
verify-elf: WARNING: ./usr/lib/nx/libXcompext.so.2.1.0: undefined
symbol: md5_init
verify-elf: ERROR: ./usr/lib/nx/nxproxy: not found: libXcomp.so.2
verify-elf: ERROR: ./usr/lib/nx/nxproxy: undefined symbol: NXTransCleanup
verify-elf: ERROR: ./usr/lib/nx/nxproxy: undefined symbol:
NXTransParseEnvironment
verify-elf: ERROR: ./usr/lib/nx/nxproxy: undefined symbol: NXTransProxy
verify-elf: ERROR: ./usr/lib/nx/nxproxy: undefined symbol:
NXTransParseCommandLine
verify-elf: ERROR: ./usr/lib/nx/nxproxy: undefined symbol: NXTransExit
verify-elf: ERROR: ./usr/lib/nx/nxviewer: not found: libXcomp.so.2
verify-elf: ERROR: ./usr/lib/nx/nxviewer: not found: libXcompext.so.2
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXDestroyPackedImage
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXInitDisplay
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXTransPrepare
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXPackImage
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXTransSelect
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol:
NXGetUnpackParameters
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXTransDialog
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXTransCongestion
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXTransContinue
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXTransRunning
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol:
NXSetUnpackColormapCompat
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXTransExecute
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXEncodeColormap
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXGetShmemParameters
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol:
NXGetControlParameters
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXTransAlert
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXTransSignal
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXSetUnpackColormap
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXPutPackedImage
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXSetUnpackGeometry
verify-elf: ERROR: ./usr/lib/nx/nxviewer: undefined symbol: NXTransDestroy
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: not found: libXcompext.so.2
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: not found: libXcomp.so.2
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXInitDisplay
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol:
NXGetControlParameters
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXTransDialog
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXTransPrepare
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol:
NXDestroyPackedImage
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXFlushDisplay
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXEncodeColormap
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXSetUnpackGeometry
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXTransRunning
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXCreatePackedImage
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol:
NXGetShmemParameters
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXTransExecute
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol:
NXGetUnpackParameters
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXTransSignal
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXTransAlert
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol:
NXSetExposeParameters
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXTransFlush
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXAllocColors
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol:
NXSetDisplayFlushHandler
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXSetUnpackColormap
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXEncodeRDPText
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXTransContinue
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXTransSelect
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXPutPackedImage
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol:
NXSetDisplayCongestionHandler
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol:
NXSetUnpackColormapCompat
verify-elf: ERROR: ./usr/lib/nx/nxdesktop: undefined symbol: NXTransDestroy
ошибка: Неверный код возврата из /home/icesik/tmp/rpm-tmp.36080 (%install)


Ошибки сборки пакетов:
    Неверный код возврата из /home/icesik/tmp/rpm-tmp.36080 (%install)
[icesik@iceberg SPECS]$

В спеке %add_findprov_lib_path есть.

[icesik@iceberg SPECS]$ cat nx.spec | grep add_findprov_lib_path
%add_findprov_lib_path %_libdir/nx
[icesik@iceberg SPECS]$

Идеи?

-- 
icesik

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [devel] Q: как правильно добавлять библиотеки в левых местах?
  2007-09-12 11:41 [devel] Q: как правильно добавлять библиотеки в левых местах? Igor Zubkov
@ 2007-09-12 12:33 ` Andrey Rahmatullin
  2007-09-12 12:44   ` Igor Zubkov
  0 siblings, 1 reply; 5+ messages in thread
From: Andrey Rahmatullin @ 2007-09-12 12:33 UTC (permalink / raw)
  To: devel

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

On Wed, Sep 12, 2007 at 02:41:01PM +0300, Igor Zubkov wrote:
> Тут появился вопрос как правильно добавить rpm'у что надо искать не в
> стандартных местах библиотеки?
Никак, зачем? Линковать надо правильно.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

Думаю, что "наш замечательный sisyphus_check" завернёт и /udev, и /dev, и
/dev/udev. :)
		-- ldv in devel@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [devel] Q: как правильно добавлять библиотеки в левых местах?
  2007-09-12 12:33 ` Andrey Rahmatullin
@ 2007-09-12 12:44   ` Igor Zubkov
  2007-09-12 12:46     ` Valery V. Inozemtsev
  2007-09-12 14:18     ` Damir Shayhutdinov
  0 siblings, 2 replies; 5+ messages in thread
From: Igor Zubkov @ 2007-09-12 12:44 UTC (permalink / raw)
  To: ALT Linux Team development discussions

12.09.07, Andrey Rahmatullin написал(а):
> On Wed, Sep 12, 2007 at 02:41:01PM +0300, Igor Zubkov wrote:
> > Тут появился вопрос как правильно добавить rpm'у что надо искать не в
> > стандартных местах библиотеки?
> Никак, зачем? Линковать надо правильно.

Мимо.
1) Эти библиотеки слинкованы правильно.
2) Эти библиотеки нельзя положить в %_libdir/ т.к. они пересекаются с Иксовыми.
3) Если эти библиотеки всё же положить в %_libdir/ то Иксы с шансом
90% сломаются.
4) apt'у от такого может и поплохеть.

На вопрос как это будет работать, я отвечу заранее. Через wrapper
который переопределяет LD_LIBRARY_PATH.

-- 
icesik

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [devel] Q: как правильно добавлять библиотеки в левых местах?
  2007-09-12 12:44   ` Igor Zubkov
@ 2007-09-12 12:46     ` Valery V. Inozemtsev
  2007-09-12 14:18     ` Damir Shayhutdinov
  1 sibling, 0 replies; 5+ messages in thread
From: Valery V. Inozemtsev @ 2007-09-12 12:46 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

В сообщении от 12 сентября 2007 Igor Zubkov написал(a):
> 12.09.07, Andrey Rahmatullin написал(а):
> > On Wed, Sep 12, 2007 at 02:41:01PM +0300, Igor Zubkov wrote:
> > > Тут появился вопрос как правильно добавить rpm'у что надо искать не в
> > > стандартных местах библиотеки?
> >
> > Никак, зачем? Линковать надо правильно.
>
> Мимо.
> 1) Эти библиотеки слинкованы правильно.
> 2) Эти библиотеки нельзя положить в %_libdir/ т.к. они пересекаются с
> Иксовыми. 3) Если эти библиотеки всё же положить в %_libdir/ то Иксы с
> шансом 90% сломаются.
> 4) apt'у от такого может и поплохеть.
>
> На вопрос как это будет работать, я отвечу заранее. Через wrapper
> который переопределяет LD_LIBRARY_PATH.

с головой не дружим? открой для себя rpath

-- 
Valery V. Inozemtsev

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [devel] Q: как правильно добавлять библиотеки в левых местах?
  2007-09-12 12:44   ` Igor Zubkov
  2007-09-12 12:46     ` Valery V. Inozemtsev
@ 2007-09-12 14:18     ` Damir Shayhutdinov
  1 sibling, 0 replies; 5+ messages in thread
From: Damir Shayhutdinov @ 2007-09-12 14:18 UTC (permalink / raw)
  To: ALT Linux Team development discussions

> Мимо.
> 1) Эти библиотеки слинкованы правильно.

неправильно, два. Почитай про rpath в man ld

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-09-12 14:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-12 11:41 [devel] Q: как правильно добавлять библиотеки в левых местах? Igor Zubkov
2007-09-12 12:33 ` Andrey Rahmatullin
2007-09-12 12:44   ` Igor Zubkov
2007-09-12 12:46     ` Valery V. Inozemtsev
2007-09-12 14:18     ` Damir Shayhutdinov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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