| View previous topic :: View next topic |
| Author |
Message |
JoeG Apprentice


Joined: 30 Jul 2003 Posts: 179 Location: Kentucky, USA
|
Posted: Sun Jan 09, 2005 7:42 am Post subject: Yahoo Messenger and File Transfers [Resolved] |
|
|
Hey y'all. I'm having a little trouble with ymessenger (I know, GAIM is really cool, but doesn't support file transfers). I can send files to my buddys just fine, but if I click the option to download a file they send, ymessenger crashes with the message | Code: | | /opt/ymessenger/bin/ymessenger.bin: relocation error: /opt/ymessenger/bin/ymessenger.bin: symbol MTaNYB7P1, version GLIBC_2.0 not defined in file libc.so.6 with link time reference | at the console. Anyone have this problem and a fix?
Regards,
JoeG _________________ Linux User#226477
Last edited by JoeG on Mon Jan 10, 2005 5:47 pm; edited 1 time in total |
|
| Back to top |
|
 |
wmgoree Apprentice

Joined: 08 Aug 2003 Posts: 246 Location: Alexandria, VA
|
Posted: Mon Jan 10, 2005 6:06 am Post subject: What version? |
|
|
I think that's a Known Issue (tm) with 1.0.4, which is the latest in portage. Try grabbing 1.0.6 from here. It seems to work better.
(if this is the same problem, incidentally, you should be fine clicking on a download from another Linux client; it's only cross-platform downloads that die horribly). _________________ vi? *snicker* it doesn't even include a mail reader... |
|
| Back to top |
|
 |
JoeG Apprentice


Joined: 30 Jul 2003 Posts: 179 Location: Kentucky, USA
|
Posted: Mon Jan 10, 2005 2:08 pm Post subject: |
|
|
Thanks so much for the response. This issue is really bugging me (no pun intented). So, should I download the latest rpm to /usr/portage/distfiles and emerge -u ymessenger, or would I have to modify/create an ebuild to handle it that way? _________________ Linux User#226477 |
|
| Back to top |
|
 |
wmgoree Apprentice

Joined: 08 Aug 2003 Posts: 246 Location: Alexandria, VA
|
Posted: Mon Jan 10, 2005 3:16 pm Post subject: I did it the Wrong Way |
|
|
Honestly I just dropped the rpm in /, ran rpm2targz, and tar -xzvf 'ed it. It will overwrite your current ymessenger install, so be prepared to re-emerge if it breaks something. _________________ vi? *snicker* it doesn't even include a mail reader... |
|
| Back to top |
|
 |
JoeG Apprentice


Joined: 30 Jul 2003 Posts: 179 Location: Kentucky, USA
|
Posted: Mon Jan 10, 2005 5:19 pm Post subject: |
|
|
Figured out a way to do it the "Gentoo Way"
1. Get into the /usr/portage/net-im/ymessenger directory and create the file /usr/portage/net-im/ymessenger/ymessenger-1.0.6.1.ebuild with the following content (I simply modified the ymessenger-1.0.4.1.ebuild file... no sense reinventing the wheel.):
| Code: | # Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit kde-functions rpm
IUSE="kde gnome"
MY_P=${PN}-${PV%.*}-${PV#*.*.*.*}
S=${WORKDIR}
DESCRIPTION="Yahoo's instant messenger client"
HOMEPAGE="http://public.yahoo.com/~mmk/index.html"
SRC_URI="http://public.yahoo.com/~mmk/rh9.${MY_P}.i386.rpm"
DEPEND="media-libs/gdk-pixbuf
dev-libs/openssl"
RDEPEND="virtual/x11"
SLOT="0"
LICENSE="yahoo"
KEYWORDS="-* ~x86"
pkg_setup() {
if [ ${ARCH} != "x86" ] ; then
einfo "This is an x86 only package, sorry"
die "Not supported on your ARCH"
fi
}
src_compile() {
einfo "Nothing to compile -- this is a binary package"
}
src_install () {
cd ${S}/opt/ymessenger/bin
exeinto /opt/ymessenger/bin
doexe ymessenger.bin ymessenger
insinto /opt/ymessenger/bin
doins yahoo_kde.xpm yahoo_gnome.png
insinto /opt/ymessenger/bin
doins ymessenger.desktop
if use gnome
then
insinto /usr/share/gnome/apps/Internet
doins ymessenger.desktop
insinto /opt/ymessenger/bin
doins ymessenger.desktop
fi
if use kde
then
insinto ${KDEDIR}/share/applnk/Internet
doins ymessenger.kdelnk
insinto /opt/ymessenger/bin
doins ymessenger.kdelnk
fi
into /opt/ymessenger
dolib ${S}/opt/ymessenger/lib/libgtkhtml.so.0
echo "#!/bin/sh" > ymessenger.gentoo
echo "LD_LIBRARY_PATH=/opt/ymessenger/lib:$LD_LIBRARY_PATH" >> ymessenger.gentoo
echo "export LD_LIBRARY_PATH" >> ymessenger.gentoo
echo "exec /opt/ymessenger/bin/ymessenger.bin $@" >> ymessenger.gentoo
exeinto /usr/bin
newexe ymessenger.gentoo ymessenger
}
pkg_postinst() {
einfo ""
einfo "If you are upgrading from an older version of ymessenger,"
einfo "please unmerge the previous version."
einfo "-=AND=-"
einfo "mv ~/.ymessenger/preferences ~/.ymessenger/preferences.old"
einfo ""
}
|
2. Create the digest file
| Code: | | ebuild ymessenger-1.0.6.1.ebuild digest |
3. Install the messenger (bear in mind that this is a beta release, so it's ~x86).
Happy YM!ing
JoeG
UPDATE: I've posted this info at bugzilla so others can benefit from my confusion.
UPDATE #2: I've updated the ebuild script to remove the dependency on libgtkhtml, as libgtkhtml.so.0 was already packaged in the rpm. Also, there is no need to create a symlink in /usr/lib, as libgtkhtml.so.0 is placed into /opt/ymessenger/lib during the emerge.
UPDATE #3: I finally RTFM'd and posted the ebuild to bugzilla here. Ya gotta love Gentoo Docs!  _________________ Linux User#226477 |
|
| Back to top |
|
 |
JoeG Apprentice


Joined: 30 Jul 2003 Posts: 179 Location: Kentucky, USA
|
Posted: Tue Jan 25, 2005 10:36 pm Post subject: |
|
|
Sweet! It's in portage! New ebuild accepted.
 _________________ Linux User#226477 |
|
| Back to top |
|
 |
|