Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo for Mac OS X (Portage for Mac OS X)
  • Search

gettext wants libintl.3.dylib ...

Running Portage on Mac OS X and need help with a problem? Post here.
Locked
Advanced search
13 posts • Page 1 of 1
Author
Message
joshua
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 134
Joined: Wed Jun 19, 2002 7:14 am
Location: Wiesbaden
Contact:
Contact joshua
Website

gettext wants libintl.3.dylib ...

  • Quote

Post by joshua » Sat Nov 06, 2004 12:24 pm

... but I don't have it!

When I do a "emerge system" it fails saying:

Code: Select all

.
.
.
gcc -O2 -pipe -o .libs/test-names test-names.o  libuniname.a ../lib/.libs/libgettextlib.dylib
ld: warning can't open dynamic library: /usr/lib/libintl.3.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: Undefined symbols:
_libintl_gettext referenced from libgettextlib-0.14 expected to be defined in /usr/lib/libintl.3.dylib
make[3]: *** [test-names] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
I can't find any libintl.*.dylib in /usr/lib, what can I do?
Daniel Haus
http://danielhaus.de
Top
Immortal Q
Apprentice
Apprentice
User avatar
Posts: 241
Joined: Sun Sep 14, 2003 10:55 pm
Location: Silicone Valley
Contact:
Contact Immortal Q
Website

  • Quote

Post by Immortal Q » Sat Nov 06, 2004 11:35 pm

My emerge seemed to want /usr/lib/libintl.2.dylib - otherwise it seems to be the same problem.

This is fresh off a clean install of Panther, and of Gentoo-OSX.
Osmos.org
Now with 20% fewer rabid primates.
Top
Immortal Q
Apprentice
Apprentice
User avatar
Posts: 241
Joined: Sun Sep 14, 2003 10:55 pm
Location: Silicone Valley
Contact:
Contact Immortal Q
Website

  • Quote

Post by Immortal Q » Sun Nov 07, 2004 3:54 am

I tired just downloading and compiling the same gettext version, using the same ./configure line - the packjage builds, but throws a great quantity of warnings about multiple definitions of _locale_charset and _setlocale in libc.dylib and libiconv.dylib.

I'm not sure where, but the ebuild clearly differs in its build process - I'll try and figure out where. Anyone else who wants to sound in on this, feel free.
Osmos.org
Now with 20% fewer rabid primates.
Top
pindar
Apprentice
Apprentice
Posts: 220
Joined: Fri Apr 30, 2004 1:33 pm

  • Quote

Post by pindar » Sun Nov 07, 2004 7:39 am

I just got the same error on my system, which is up to date; the gettext-0.14.1 ebuild seems to depend on /usr/lib/libintl.3.dylib, which isn't there:

Code: Select all

% % ls -al /usr/lib/libint*
-rw-r--r--    1 root     portage     41816 Oct 21 00:14 /usr/lib/libintl.2.3.0.dylib
lrwxrwxrwx    1 root     wheel          19 Oct 21 00:14 /usr/lib/libintl.2.dylib -> libintl.2.3.0.dylib
-rw-r--r--    1 root     wheel       66580 Oct 21 00:14 /usr/lib/libintl.a
lrwxrwxrwx    1 root     wheel          19 Oct 21 00:14 /usr/lib/libintl.dylib -> libintl.2.3.0.dylib
-rw-r--r--    1 root     wheel         825 Oct 21 00:14 /usr/lib/libintl.la
Maybe we should file a bug report?
Top
Immortal Q
Apprentice
Apprentice
User avatar
Posts: 241
Joined: Sun Sep 14, 2003 10:55 pm
Location: Silicone Valley
Contact:
Contact Immortal Q
Website

  • Quote

Post by Immortal Q » Sun Nov 07, 2004 7:58 am

Oddly enough - I can't find any libintl dylibs on my system - they must be installed by another package, either from Apple, portage, or whatever - my system is missing all of those.
Osmos.org
Now with 20% fewer rabid primates.
Top
pindar
Apprentice
Apprentice
Posts: 220
Joined: Fri Apr 30, 2004 1:33 pm

  • Quote

Post by pindar » Sun Nov 07, 2004 9:30 am

Given that the actual library libintl.2.3.0.dylib is owned by root, group portage, it seems safe to assume that it was installed by portage. But what ebuild? Maybe an older version of gettext? Or wget? Interestingly, there is no version of libintl on my gentoo linux partition. Go figure...
Top
joshua
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 134
Joined: Wed Jun 19, 2002 7:14 am
Location: Wiesbaden
Contact:
Contact joshua
Website

  • Quote

Post by joshua » Fri Nov 12, 2004 9:13 am

So, pindar, could you find out which package contains that
libintl.2.3.0.dylib on your system?

Maybe a

Code: Select all

qpkg -q -f /usr/lib/libintl.2.3.0.dylib
will tell?

I currently have no libintl.*.dylib here, so 2.3.0 would be a
big advance.

Thank you
Daniel Haus
http://danielhaus.de
Top
pindar
Apprentice
Apprentice
Posts: 220
Joined: Fri Apr 30, 2004 1:33 pm

  • Quote

Post by pindar » Fri Nov 12, 2004 2:33 pm

No, hadn't looked into it any further, thanks for reminding me. This was a rather instructive journey: qpkg relies on a version of xargs that doesn't come with vanilla OS X. So I tried emerging findutils, but it crapped out. Wasn't ready to give up and installed findutils from fink, and now I get this output:

Code: Select all

qpkg -q -f /usr/lib/libintl.2.3.0.dylib 
sys-devel/gettext-0.12.1-r2 *
DEPENDED ON BY:
        nano-1.3.4
So the library was installed by gettext, which in turn was installed by nano 1.3.4 (which doesn't work properly in OS X). Does that help any?
Top
joshua
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 134
Joined: Wed Jun 19, 2002 7:14 am
Location: Wiesbaden
Contact:
Contact joshua
Website

  • Quote

Post by joshua » Fri Nov 12, 2004 2:46 pm

Thank you very much, now I know that gettext 0.14.* needs
gettext for that libintl.*, and I see that gettext-0.12.1 is in
portage.

I try to first emerge the old version. If that works, I might be able
to install the current version of gettext. I'll post the results later.

Thank you, once again!
Daniel Haus
http://danielhaus.de
Top
pindar
Apprentice
Apprentice
Posts: 220
Joined: Fri Apr 30, 2004 1:33 pm

  • Quote

Post by pindar » Fri Nov 12, 2004 4:23 pm

Wow, I must've been sleeping when I posted this: the question was why gettext won't compile, and I sheepishly wrote that the libintl* libraries were installed by gettext. Which is what I suspected all along: gettext is supposed to include these libraries itself, it doesn't rely on them being there. So I tried to emerge again, I'm not sure if there was a new version. Anyway, gettext-0.14.1 now compiled cleanly, and guess what? All the libintl* stuff is gone from my /usr/lib:

Code: Select all

% ls -al /usr/lib/libint*
zsh: no matches found: /usr/lib/libint*
Interesting, isn't it? And I have no idea what that means... Well, whatever, at least emerge system now doesn't complain about anything anymore. Cheers!
Top
joshua
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 134
Joined: Wed Jun 19, 2002 7:14 am
Location: Wiesbaden
Contact:
Contact joshua
Website

  • Quote

Post by joshua » Fri Nov 12, 2004 5:06 pm

The above didn't work, but after your post I did an emerge sync,
emerge gettext with success, finally!

Thanks for your help, seemed to be something wrong with the ebuild.

Have a nice weekend!
Daniel Haus
http://danielhaus.de
Top
pindar
Apprentice
Apprentice
Posts: 220
Joined: Fri Apr 30, 2004 1:33 pm

  • Quote

Post by pindar » Sat Nov 13, 2004 7:15 am

Curiouser and curiouser... I just found out that with the disappearance of libintl.2.dylib, wget doesn't work anymore. Any call to it is answered with this error:

Code: Select all

wget --version
dyld: wget can't open library: /usr/lib/libintl.2.dylib  (No such file or directory, errno = 2)
zsh: trace trap  wget --version

Let's see if this can be fixed somehow...
Top
pindar
Apprentice
Apprentice
Posts: 220
Joined: Fri Apr 30, 2004 1:33 pm

  • Quote

Post by pindar » Sat Nov 13, 2004 7:57 am

OK, I found a quick and dirty fix, but I have no clue what's really going on here; could somebody with more knowledge look into this? What I found was
1. When I remerged gettext, I saw a couple of warnings fly by `libtool: install: warning: `/var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/gettext-tools/intl/libintl.la' has not been installed in `/usr/lib'
libtool: install: warning: remember to run `libtool --finish /usr/lib'
Unfortunately, running this command in OS X produces errors; libtool doesn't take a `--finish' argument.
2. I then found that the libintl* files are sitting in /var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/gettext-runtime/intl/.libs I copied them manually to /usr/lib, and now both gettext and wget are are working again.
However, I'm aware that this is a duct-tape approach -- anybody know a real solution?
Top
Locked

13 posts • Page 1 of 1

Return to “Gentoo for Mac OS X (Portage for Mac OS X)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic