image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old August 7th, 2005, 01:30 PM
Registered User
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
owenleibman is on a distinguished road
Lynx And _nl_langinfo

I maintain a web site, and would like to preview in as many browsers as possible. I am on OSX 10.2.8. I downloaded Lynx (from http://www.apple.com/downloads/macosx/unix_open_source/lynx.html). When I tried to run the result, I initially had a problem because it couldn't find lynx.cfg where it wanted it. I managed to get around that, but here is a complete transcript of the result.

Last login: Thu Aug 4 09:36:53 on ttyp1
/Applications/Lynx/lynx.command; exit
Welcome to Darwin!
[your-vp7x3s9ctm:~] dad2% /Applications/Lynx/lynx.command; exit
dyld: /Applications/Lynx/lynx.command Undefined symbols:
/Applications/Lynx/lynx.command undefined reference to _nl_langinfo expected to be defined in /usr/lib/libSystem.B.dylib
Trace/BPT trap
logout
[Process completed]


Any ideas what I should do to fix this? Just for the record, I tried an earlier release of Lynx which needed to run from the terminal shell, and it failed because it was also missing several definitions from the same library,
Reply With Quote
  #2  
Old August 7th, 2005, 02:23 PM
Registered User
 
Join Date: May 2005
Posts: 1,339
Thanks: 0
Thanked 1 Time in 1 Post
barhar is on a distinguished road
With the 'Lynx-2.8.6' disk image on the 'Desktop' (as a result of double clicking on the 'Lynx-2.8.6-10.2-10.4.dmg' file), all you had to do was launch 'Terminal' and enter ...

sudo cp /Volumes/Lynx-2.8.6/lynx.cfg /usr/local/lib/lynx.cfg

... and press the <return> key. After entering the (optional) administrator's password and pressing the <return> key, 'lynx.cfg' would have been properly installed. Is this what you did?

Anyway, once the above is performed, double-clicking on 'lynx.command' produces a 'Terminal' window from which you can now surf the internet, via text.
Reply With Quote
  #3  
Old August 8th, 2005, 02:13 PM
Registered User
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
owenleibman is on a distinguished road
The sudo isn't precisely what I did, but I did get lynx.cfg to the right place. Unfortunately, the problem is that _nl_langinfo, which is expected to be defined in /usr/lib/libSystem.B.dylib, cannot be found, so I'm stuck at that point. My guess is that I need a new version of that lib file, or some equivalent, in order to proceed, but I don't know where to find it..
Reply With Quote
  #4  
Old August 11th, 2005, 07:19 AM
Registered User
 
Join Date: May 2005
Posts: 1,339
Thanks: 0
Thanked 1 Time in 1 Post
barhar is on a distinguished road
I have an external hard drive (with multiple partitions, and thus - multiple MacOS X'es installed) with a 10.2.0 partition. I have viewed its '/usr/lib/' folder. It does contain 'libSystem.dylib' (an alias to 'libSystem.B.dylib') and 'libSystem.B.dylib'. I '.zip'ed the two files into a file titled 'libsystem.zip'.

Click here to download 'libsystem.zip' (the file will be deleted any time after 20 August 2005).

Last edited by barhar; August 11th, 2005 at 08:20 AM.
Reply With Quote
  #5  
Old August 11th, 2005, 07:58 PM
Registered User
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
owenleibman is on a distinguished road
Thanks

I appreciate your efforts in looking at this problem and getting me this file. Alas, it seems to lack _nl_langinfo as well. However, there is good news anyhow. Although the port of Lynx from the Mac site had this problem, downloading a different port with Fink Commander works correctly. So I guess I'll just classify this as a mysterious, and thankfully avoidable, problem.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 05:32 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.