Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bibblepro on amd64 error [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Thu Apr 24, 2008 4:27 pm    Post subject: bibblepro on amd64 error [solved] Reply with quote

Hello, trying to get bibblepro running on amd64 bit install but it fails to load with:

Code:

bibblepro
bibblepro: error while loading shared libraries: libkodakcms.so: cannot open shared object file: No such file or directory



Looking at install it has installed it here:

Code:

/usr/lib64/bibblelabs/bibblepro/



but on 32bit install it goes here:

Code:

/usr/lib/bibblelabs/bibblepro/


I know that bibblepro hard codes path so that probably reason for error, the ebuild i used is below.



Any ideas?

cheers

Code:

cat /usr/local/portage/media-gfx/bibblepro/bibblepro-4.9.9-r3.ebuild
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils rpm

DESCRIPTION="Professional photo workflow and RAW conversion software"
HOMEPAGE="http://www.bibblelabs.com"
MY_P="bibblepro"
RESTRICT="nomirror"
RPM_VERSION="1"
SRC_URI="bibblepro-${PV}-3.i386.rpm"


LICENSE="Proprietary"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="app-arch/rpm2targz"
RDEPEND="virtual/libc
        media-libs/fontconfig
        media-libs/freetype
        sys-libs/zlib
        dev-libs/expat
        >=sys-devel/gcc-4.1.0"

src_unpack() {
        rpm_src_unpack
}

src_compile() { :; }

src_install() {
        cd ${WORKDIR}

        dobin ./usr/bin/bibblepro

        libdir=$(get_libdir)
        dodir /usr/${libdir}/bibblelabs
        insinto /usr/${libdir}/bibblelabs
        doins -r ./usr/lib/bibblelabs/*

        dodoc ./usr/share/doc/bibblepro/README.txt

        dodir /usr/share/pixmaps
        insinto /usr/share/pixmaps
        doins ./usr/share/pixmaps/bibblelogo.png

        insinto /etc/env.d
        doins ${FILESDIR}/80bibblepro-bin

        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/libs/libkodakcms.so
        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/libs/NoiseNinja/libnoiseninja.so.2.0.0
        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/plugins/Andy.so
        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/plugins/BBlackAndWhite.so
        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/plugins/Gina.so
        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/plugins/Roy.so
        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/plugins/Sadie.so
        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/plugins/Siggy.so
        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/plugins/Tony.so

}

_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb


Last edited by carpman on Thu Apr 24, 2008 5:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Thu Apr 24, 2008 4:37 pm    Post subject: Reply with quote

Ok made some change to ebuild as recommend in bibble forum.

Code:

cat /usr/local/portage/media-gfx/bibblepro/bibblepro-4.9.9-r3.ebuild
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils rpm

DESCRIPTION="Professional photo workflow and RAW conversion software"
HOMEPAGE="http://www.bibblelabs.com"
MY_P="bibblepro"
RESTRICT="nomirror"
RPM_VERSION="1"
SRC_URI="bibblepro-${PV}-3.i386.rpm"


LICENSE="Proprietary"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="app-arch/rpm2targz"
RDEPEND="app-emulation/emul-linux-x86-compat
        virtual/libc
        media-libs/fontconfig
        media-libs/freetype
        sys-libs/zlib
        dev-libs/expat
        >=sys-devel/gcc-4.1.0"

src_unpack() {
        rpm_src_unpack
}

src_compile() { :; }

src_install() {
        cd ${WORKDIR}

        dobin ./usr/bin/bibblepro

        libdir=/lib
        dodir /usr/${libdir}/bibblelabs
        insinto /usr/${libdir}/bibblelabs
        doins -r ./usr/lib/bibblelabs/*

        dodoc ./usr/share/doc/bibblepro/README.txt

        dodir /usr/share/pixmaps
        insinto /usr/share/pixmaps
        doins ./usr/share/pixmaps/bibblelogo.png

        insinto /etc/env.d
        doins ${FILESDIR}/80bibblepro-bin

        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/libs/libkodakcms.so
        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/libs/NoiseNinja/libnoiseninja.so.2.0.0
        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/plugins/Andy.so
        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/plugins/BBlackAndWhite.so
        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/plugins/Gina.so
        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/plugins/Roy.so
        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/plugins/Sadie.so
        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/plugins/Siggy.so
        fperms a+x /usr/${libdir}/bibblelabs/bibblepro/plugins/Tony.so

}



but still same error?
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Thu Apr 24, 2008 5:32 pm    Post subject: Reply with quote

Sorted, did

Code:

add a file 99bibble to /etc/env.d with contents as follow:

Code:

LDPATH=/usr/lib/bibblelabs/bibblepro/libs


and then run env-update.

_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum