niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Programming » python
getaddrinfo not found on SCO OpenServer 5.0.5
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
edcdave@gmail.com
*nix forums beginner


Joined: 21 Jul 2006
Posts: 1

PostPosted: Fri Jul 21, 2006 1:11 pm    Post subject: getaddrinfo not found on SCO OpenServer 5.0.5 Reply with quote

I'm trying to get MoinMoin 1.5.4 running with Python 2.3.4 (installed
from an SCO Skunkworks binary). Python 2.3.4 (#1, Aug 27 2004,
18:22:39) [GCC 2.95.3 20030528 (SCO/p5)] on sco_sv3

One of the MoinMoin modules attempts to import cgi and triggers this
traceback:

Traceback (most recent call last):
File "./moin.cgi", line 43, in ?
from MoinMoin.request import RequestCGI
File "/usr/moin/lib/python2.3/site-packages/MoinMoin/request.py",
line 10, in ?
import os, re, time, sys, cgi, StringIO
File "/opt/K/SCO/python/2.3.4/usr/lib/python2.3/cgi.py", line 39, in
?
import urllib
File "/opt/K/SCO/python/2.3.4/usr/lib/python2.3/urllib.py", line 26,
in ?
import socket
File "/opt/K/SCO/python/2.3.4/usr/lib/python2.3/socket.py", line 44,
in ?
import _socket
ImportError: dynamic linker: /usr/bin/python: relocation error: symbol
not found: getaddrinfo; referenced from:
/opt/K/SCO/python/2.3.4/usr/lib/python2.3/lib-dynload/_socketmodule.so

getaddrinfo is not supported in OpenServer 5, but it is available under
the UDK. That is, the function is present in /udk/usr/lib/libsocket.so.
I've tried adjusting LD_LIBRARY_PATH without success. My questions:

1) I've seen mention of native vs. Python getaddrinfo implementations.
If that's true, how can I force the program to use the Python one?

2) Is there an option to not use the BSD Library function?

3) Finally, is there a trick to searching for shared libaries?

Thanks,
Dave Harris
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Sat Nov 22, 2008 8:26 pm | All times are GMT
navigation Forum index » Programming » python
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts libXfixes.so.3 is present, but not found Dr. R. E. Hawkins FreeBSD 5 Thu Jul 20, 2006 11:59 pm
No new posts error: Illegal MIME chars, found in header Mads N. Vestergaard Postfix 5 Thu Jul 20, 2006 10:18 am
No new posts Pfpro enabled, but function not found yohaas PHP 0 Tue Jul 18, 2006 1:38 am
No new posts Delay in SMTP "no IP address found for host" Mordur Exim 4 Mon Jul 17, 2006 6:36 pm
No new posts Holy Crap I Just Found the Pirates Treasure (stupid fbsd ... My Haz FreeBSD 0 Mon Jul 17, 2006 5:07 pm

Car Finance | ADHD Coach | Fast Loans | Online Advertising | Mobile Phones
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1289s ][ Queries: 16 (0.0590s) ][ GZIP on - Debug on ]