Re: gconf for firefox-x11 build problem
On Jul 9, 2007, at 09:59, Joshua MacFie wrote:
On Jul 9, 2007, at 9:05 AM, Ryan Schmidt wrote:
On Jul 9, 2007, at 05:16, Joshua MacFie wrote:
/usr/bin/ld: can't map file: /opt/local/lib/libgtk-x11-2.0.dylib ((os/kern) invalid argument)
Does that file exist, are its permissions ok and is it of the correct architecture for your computer? Try:
file /opt/local/lib/libgtk-x11-2.0.dylib
and see what it says. Try also:
otool -L /opt/local/lib/libgtk-x11-2.0.dylib
Thank you very much for your help.
The first says
/opt/local/lib/libgtk-x11-2.0.dylib: unreadable symlink `/opt/local/ lib/libgtk-x11-2.0.dylib' (No such file or directory)
The second
otool: can't map file: /opt/local/lib/libgtk-x11-2.0.dylib ((os/ kern) invalid argument)
Sorry I'm sorta new to the Unix environment. Is the sym link break what's causing this? If so how do I fix it?
So it looks like /opt/local/lib/libgtk-x11-2.0.dylib exists but is merely a symlink pointing to something that doesn't exist. That would certainly explain why ld couldn't access it, and why your compile didn't complete. One good piece of information would be to know where the symlink is pointing: ls -l /opt/local/lib/libgtk-x11-2.0.dylib Another would be which port provided that broken symlink: port provides /opt/local/lib/libgtk-x11-2.0.dylib Whatever port it identifies, try reinstalling it (sudo port -ncuf upgrade theportname) -- after selfupdating to make sure you have the latest MacPorts and ports tree (sudo port selfupdate). If, after reinstalling the latest version of that port, you still have a broken symlink, you may need to contact the port's maintainer (port info theportname). Don't forget to Reply To All so your message goes to the mailing list too, and not just me.
On Jul 9, 2007, at 10:51 AM, Ryan Schmidt wrote:
On Jul 9, 2007, at 09:59, Joshua MacFie wrote:
On Jul 9, 2007, at 9:05 AM, Ryan Schmidt wrote:
On Jul 9, 2007, at 05:16, Joshua MacFie wrote:
/usr/bin/ld: can't map file: /opt/local/lib/libgtk-x11-2.0.dylib ((os/kern) invalid argument)
Does that file exist, are its permissions ok and is it of the correct architecture for your computer? Try:
file /opt/local/lib/libgtk-x11-2.0.dylib
and see what it says. Try also:
otool -L /opt/local/lib/libgtk-x11-2.0.dylib
Thank you very much for your help.
The first says
/opt/local/lib/libgtk-x11-2.0.dylib: unreadable symlink `/opt/ local/lib/libgtk-x11-2.0.dylib' (No such file or directory)
The second
otool: can't map file: /opt/local/lib/libgtk-x11-2.0.dylib ((os/ kern) invalid argument)
Sorry I'm sorta new to the Unix environment. Is the sym link break what's causing this? If so how do I fix it?
So it looks like /opt/local/lib/libgtk-x11-2.0.dylib exists but is merely a symlink pointing to something that doesn't exist. That would certainly explain why ld couldn't access it, and why your compile didn't complete.
One good piece of information would be to know where the symlink is pointing:
ls -l /opt/local/lib/libgtk-x11-2.0.dylib
Another would be which port provided that broken symlink:
port provides /opt/local/lib/libgtk-x11-2.0.dylib
Whatever port it identifies, try reinstalling it (sudo port -ncuf upgrade theportname) -- after selfupdating to make sure you have the latest MacPorts and ports tree (sudo port selfupdate). If, after reinstalling the latest version of that port, you still have a broken symlink, you may need to contact the port's maintainer (port info theportname).
Ok so here's the first joshuamacfie$ ls -l /opt/local/lib/libgtk-x11-2.0.dylib lrwxr-xr-x 1 root admin 0 Jul 9 04:20 /opt/local/lib/libgtk- x11-2.0.dylib -> Does this mean it pints to itself? and the second joshuamacfie$ port provides /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libgtk-x11-2.0.dylib is a directory. Does not give me a port name just says its a directory. Or should I try to reinstall libgtk-x11-2.0.dylib
On Jul 9, 2007, at 14:47, Joshua MacFie wrote:
On Jul 9, 2007, at 10:51 AM, Ryan Schmidt wrote:
On Jul 9, 2007, at 09:59, Joshua MacFie wrote:
On Jul 9, 2007, at 9:05 AM, Ryan Schmidt wrote:
On Jul 9, 2007, at 05:16, Joshua MacFie wrote:
/usr/bin/ld: can't map file: /opt/local/lib/libgtk- x11-2.0.dylib ((os/kern) invalid argument)
Does that file exist, are its permissions ok and is it of the correct architecture for your computer? Try:
file /opt/local/lib/libgtk-x11-2.0.dylib
and see what it says. Try also:
otool -L /opt/local/lib/libgtk-x11-2.0.dylib
Thank you very much for your help.
The first says
/opt/local/lib/libgtk-x11-2.0.dylib: unreadable symlink `/opt/ local/lib/libgtk-x11-2.0.dylib' (No such file or directory)
The second
otool: can't map file: /opt/local/lib/libgtk-x11-2.0.dylib ((os/ kern) invalid argument)
Sorry I'm sorta new to the Unix environment. Is the sym link break what's causing this? If so how do I fix it?
So it looks like /opt/local/lib/libgtk-x11-2.0.dylib exists but is merely a symlink pointing to something that doesn't exist. That would certainly explain why ld couldn't access it, and why your compile didn't complete.
One good piece of information would be to know where the symlink is pointing:
ls -l /opt/local/lib/libgtk-x11-2.0.dylib
Another would be which port provided that broken symlink:
port provides /opt/local/lib/libgtk-x11-2.0.dylib
Whatever port it identifies, try reinstalling it (sudo port -ncuf upgrade theportname) -- after selfupdating to make sure you have the latest MacPorts and ports tree (sudo port selfupdate). If, after reinstalling the latest version of that port, you still have a broken symlink, you may need to contact the port's maintainer (port info theportname).
Ok so here's the first
joshuamacfie$ ls -l /opt/local/lib/libgtk-x11-2.0.dylib lrwxr-xr-x 1 root admin 0 Jul 9 04:20 /opt/local/lib/libgtk- x11-2.0.dylib ->
Does this mean it pints to itself?
No, if it pointed to itself it would say "/opt/local/lib/libgtk- x11-2.0.dylib -> libgtk-x11-2.0.dylib" Are you sure there's nothing after the -> ? Nothing continued on the second line for example? I've never seen a symlink that pointed to nothing. I don't even know how to create such a thing.
and the second
joshuamacfie$ port provides /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libgtk-x11-2.0.dylib is a directory.
Does not give me a port name just says its a directory.
That's peculiar.
Or should I try to reinstall libgtk-x11-2.0.dylib
By all means, reinstall it, if you know what port provides it. Perhaps the gtk2 port provides it. I'm not sure because I don't have any libgtk-x11-2.0.dylib and I don't use gtk.
On 10 Jul, 2007, at 16:54, Ryan Schmidt wrote:
On Jul 9, 2007, at 14:47, Joshua MacFie wrote:
joshuamacfie$ ls -l /opt/local/lib/libgtk-x11-2.0.dylib lrwxr-xr-x 1 root admin 0 Jul 9 04:20 /opt/local/lib/libgtk- x11-2.0.dylib ->
Does this mean it pints to itself?
No, if it pointed to itself it would say "/opt/local/lib/libgtk- x11-2.0.dylib -> libgtk-x11-2.0.dylib"
Are you sure there's nothing after the -> ? Nothing continued on the second line for example? I've never seen a symlink that pointed to nothing. I don't even know how to create such a thing.
and the second
joshuamacfie$ port provides /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libgtk-x11-2.0.dylib is a directory.
Does not give me a port name just says its a directory.
That's peculiar.
Courtesy of my system: [sauvagine%] ls -l /opt/local/lib/libgtk-x11-2.0.dylib lrwxr-xr-x 1 root admin 30 Jul 5 13:16 /opt/local/lib/libgtk- x11-2.0.dylib@ -> libgtk-x11-2.0.0.1000.13.dylib [sauvagine%] port provides /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libgtk-x11-2.0.dylib is provided by: gtk2 A symbolic link could be created to whitespace, although the fact that the file is reported as having 0 size would indicate to me that the file really is pointing to an empty string. Chris
On Jul 10, 2007, at 4:04 PM, Chris Pickel wrote:
On 10 Jul, 2007, at 16:54, Ryan Schmidt wrote:
On Jul 9, 2007, at 14:47, Joshua MacFie wrote:
joshuamacfie$ ls -l /opt/local/lib/libgtk-x11-2.0.dylib lrwxr-xr-x 1 root admin 0 Jul 9 04:20 /opt/local/lib/libgtk- x11-2.0.dylib ->
Does this mean it pints to itself?
No, if it pointed to itself it would say "/opt/local/lib/libgtk- x11-2.0.dylib -> libgtk-x11-2.0.dylib"
Are you sure there's nothing after the -> ? Nothing continued on the second line for example? I've never seen a symlink that pointed to nothing. I don't even know how to create such a thing.
and the second
joshuamacfie$ port provides /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libgtk-x11-2.0.dylib is a directory.
Does not give me a port name just says its a directory.
That's peculiar.
Courtesy of my system:
[sauvagine%] ls -l /opt/local/lib/libgtk-x11-2.0.dylib lrwxr-xr-x 1 root admin 30 Jul 5 13:16 /opt/local/lib/libgtk- x11-2.0.dylib@ -> libgtk-x11-2.0.0.1000.13.dylib [sauvagine%] port provides /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libgtk-x11-2.0.dylib is provided by: gtk2
A symbolic link could be created to whitespace, although the fact that the file is reported as having 0 size would indicate to me that the file really is pointing to an empty string.
Chris Thats an actual copy and paste from my term window. I have no Idea why or how this happened. I just reinstalled macports and have tried updating so I know its fresh. I have only installed fluxbox so far.
Josh
On Jul 10, 2007, at 3:54 PM, Ryan Schmidt wrote:
On Jul 9, 2007, at 14:47, Joshua MacFie wrote:
On Jul 9, 2007, at 10:51 AM, Ryan Schmidt wrote:
On Jul 9, 2007, at 09:59, Joshua MacFie wrote:
On Jul 9, 2007, at 9:05 AM, Ryan Schmidt wrote:
On Jul 9, 2007, at 05:16, Joshua MacFie wrote:
/usr/bin/ld: can't map file: /opt/local/lib/libgtk- x11-2.0.dylib ((os/kern) invalid argument)
Does that file exist, are its permissions ok and is it of the correct architecture for your computer? Try:
file /opt/local/lib/libgtk-x11-2.0.dylib
and see what it says. Try also:
otool -L /opt/local/lib/libgtk-x11-2.0.dylib
Thank you very much for your help.
The first says
/opt/local/lib/libgtk-x11-2.0.dylib: unreadable symlink `/opt/ local/lib/libgtk-x11-2.0.dylib' (No such file or directory)
The second
otool: can't map file: /opt/local/lib/libgtk-x11-2.0.dylib ((os/ kern) invalid argument)
Sorry I'm sorta new to the Unix environment. Is the sym link break what's causing this? If so how do I fix it?
So it looks like /opt/local/lib/libgtk-x11-2.0.dylib exists but is merely a symlink pointing to something that doesn't exist. That would certainly explain why ld couldn't access it, and why your compile didn't complete.
One good piece of information would be to know where the symlink is pointing:
ls -l /opt/local/lib/libgtk-x11-2.0.dylib
Another would be which port provided that broken symlink:
port provides /opt/local/lib/libgtk-x11-2.0.dylib
Whatever port it identifies, try reinstalling it (sudo port -ncuf upgrade theportname) -- after selfupdating to make sure you have the latest MacPorts and ports tree (sudo port selfupdate). If, after reinstalling the latest version of that port, you still have a broken symlink, you may need to contact the port's maintainer (port info theportname).
Ok so here's the first
joshuamacfie$ ls -l /opt/local/lib/libgtk-x11-2.0.dylib lrwxr-xr-x 1 root admin 0 Jul 9 04:20 /opt/local/lib/libgtk- x11-2.0.dylib ->
Does this mean it pints to itself?
No, if it pointed to itself it would say "/opt/local/lib/libgtk- x11-2.0.dylib -> libgtk-x11-2.0.dylib"
Are you sure there's nothing after the -> ? Nothing continued on the second line for example? I've never seen a symlink that pointed to nothing. I don't even know how to create such a thing.
and the second
joshuamacfie$ port provides /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libgtk-x11-2.0.dylib is a directory.
Does not give me a port name just says its a directory.
That's peculiar.
Or should I try to reinstall libgtk-x11-2.0.dylib
By all means, reinstall it, if you know what port provides it. Perhaps the gtk2 port provides it. I'm not sure because I don't have any libgtk-x11-2.0.dylib and I don't use gtk.
Ok so this question is going to sound lame but can I just type port reinstall gtk2 in order to reinstall?
On Jul 10, 2007, at 16:27, Joshua MacFie wrote:
On Jul 10, 2007, at 3:54 PM, Ryan Schmidt wrote:
On Jul 9, 2007, at 14:47, Joshua MacFie wrote:
Or should I try to reinstall libgtk-x11-2.0.dylib
By all means, reinstall it, if you know what port provides it. Perhaps the gtk2 port provides it. I'm not sure because I don't have any libgtk-x11-2.0.dylib and I don't use gtk.
Ok so this question is going to sound lame but can I just type
port reinstall gtk2
in order to reinstall?
"man port" will show you that there is no "reinstall" command. However, you can reinstall by typing: sudo port -ncuf upgrade gtk2 n: not the dependencies; just this port c: clean it afterwards u: uninstall the old version afterwards f: force the upgrade
On Jul 10, 2007, at 4:41 PM, Ryan Schmidt wrote:
On Jul 10, 2007, at 16:27, Joshua MacFie wrote:
On Jul 10, 2007, at 3:54 PM, Ryan Schmidt wrote:
On Jul 9, 2007, at 14:47, Joshua MacFie wrote:
Or should I try to reinstall libgtk-x11-2.0.dylib
By all means, reinstall it, if you know what port provides it. Perhaps the gtk2 port provides it. I'm not sure because I don't have any libgtk-x11-2.0.dylib and I don't use gtk.
Ok so this question is going to sound lame but can I just type
port reinstall gtk2
in order to reinstall?
"man port" will show you that there is no "reinstall" command. However, you can reinstall by typing:
sudo port -ncuf upgrade gtk2
n: not the dependencies; just this port c: clean it afterwards u: uninstall the old version afterwards f: force the upgrade Cool that worked for that package but now I get the same thing w/ these two
/usr/bin/libtool: can't map file: /opt/local/lib//libssl.dylib ((os/ kern) invalid argument) /usr/bin/libtool: can't map file: /opt/local/lib//libcrypto.dylib ((os/kern) invalid argument) make[1]: *** [libneon.la] Error 1 make: *** [subdirs] Error 2 How can I tell what ports I need to reinstall for those? Josh
On Jul 11, 2007, at 08:20, Joshua MacFie wrote:
On Jul 10, 2007, at 4:41 PM, Ryan Schmidt wrote:
On Jul 10, 2007, at 16:27, Joshua MacFie wrote:
On Jul 10, 2007, at 3:54 PM, Ryan Schmidt wrote:
On Jul 9, 2007, at 14:47, Joshua MacFie wrote:
Or should I try to reinstall libgtk-x11-2.0.dylib
By all means, reinstall it, if you know what port provides it. Perhaps the gtk2 port provides it. I'm not sure because I don't have any libgtk-x11-2.0.dylib and I don't use gtk.
Ok so this question is going to sound lame but can I just type
port reinstall gtk2
in order to reinstall?
"man port" will show you that there is no "reinstall" command. However, you can reinstall by typing:
sudo port -ncuf upgrade gtk2
n: not the dependencies; just this port c: clean it afterwards u: uninstall the old version afterwards f: force the upgrade Cool that worked for that package but now I get the same thing w/ these two
/usr/bin/libtool: can't map file: /opt/local/lib//libssl.dylib ((os/ kern) invalid argument) /usr/bin/libtool: can't map file: /opt/local/lib//libcrypto.dylib ((os/kern) invalid argument) make[1]: *** [libneon.la] Error 1 make: *** [subdirs] Error 2
How can I tell what ports I need to reinstall for those?
Those two are both provided by the openssl port. It sounds like something in your MacPorts installation is hosed. You may want to take a look through /opt/local/lib and see how many other symlinks point at nothing. If there are many, you may be better off deleting your entire /opt/local directory and reinstalling MacPorts and your ports from scratch, to make sure nothing else is broken.
participants (3)
-
Chris Pickel
-
Joshua MacFie
-
Ryan Schmidt