Software :: Importing 32 Bit Swig Library From Python2.4 On 64 Bit Machine?

May 10, 2011

I am using swig framework to invoke certain C APIs in a C Library from a python program. Unfortunately the python software needs to run on a 64 bit virtualization platform, whereas the C library is 32 bit (its a 3rd party library whose 64 bit version is not available). Lets say the name of the swig generated shared library is _my_swig.so. When the python wrapper makes "import _my_swig" call, i see the following error

ImportError: -snipsnip-/_my_swig.so: wrong ELF class: ELFCLASS32

which probably means I am trying to import a 32 bit library from 64 bit python. Can anybody suggest any workaround?

View 3 Replies


ADVERTISEMENT

Ubuntu Installation :: Wxpython For Python2.5 In Presence Of Python2.6?

Dec 21, 2010

I would like to install wxpython2.8 for python2.5, which I installed as an alternative version in the presence of the standard python2.6 using xubuntu 10.04 lucid lynx (see the end of this thread for how I did it).how would I do this without the installation going for the standard 2.6 version? I found some notes to that on the web:

[URL]

I tried those, but somehow my wxpython installation got borked and would not do anything afterwards.

View 4 Replies View Related

Fedora Servers :: Importing XP Machine Fails

Oct 18, 2010

We are trying to consolidate some servers to run as virtual machines on our F13 host.After booting into SystemRescueCD, we take a dd of /dev/sda (we initially did a dd of sda1 before realizing our error)We transferred this image (EDI.img) to our F13 VM host. and created a new virtual machine using the graphical Virtual Machine Manager using "import an existing disk image" and the same EDI.img file as the storage volume.

Unable to boot, I've done much googling to find the registry entries of MigrateIDE.reg - which I've manually added to the image's registry via chntpw -e /mnt/windows/WINDOWS/system32/config/system.Another forum's posting advised to boot from the XP iso and allow this installation process to "repair" the existing installation. I'm still sitting at a blank screen with minimal CPU activity. Can anyone point me in the right direction on how to migrate a physical XP machine to be a virtual machine running under F13?

View 2 Replies View Related

General :: Importing User Accounts/passwords From Another Machine?

Jun 10, 2010

I have couple of users in one machine. I can access the /etc/passwd,/etc/shadow and /etc/group files in this box. I have another box. I want to create some user accounts in the second box by just looking in the passwd, shadow and group files in the first box. I would just copy over the corresponding lines into the corresponding for whichever accounts I want to create as new and also change the lines for which I want to update the account information. Is this possible and will also the passwords work fine? Please also let me know there is any good tool for automatically doing this kind of stuff. Both the boxes that I have are Ubuntu machines though one is running Ubuntu 8.04 and the other is 10.04.

View 5 Replies View Related

Software :: Importing A Vmware Virtual Machine File Vi Vmware Server 2.0.2?

Jul 27, 2011

I completed the installation of VMWare Server 2.0.2 onto a CentOS 5.4 64-bit distribution. There is a VMware virtual machine file on the server in question, and I want to activate it through the application console.

I did not see anything readily apparent that would facilitate the importing of the virtual machine file. Does anyone have a procedure that can accomplish this task?

View 5 Replies View Related

General :: Red Hat Enterprise Desktop 5.3 On 64 Bit Machine Need 32-bit Library File

Jun 29, 2010

I have installed Red Hat 5.3 64-bit linux.

I have a program that needs 32-bit libtcl8.4.so and libtk8.4.so.

I have the Red Hat supplemental DVD that has the tcl-devel-8.4.13-3.fc6.i386.rpm and the tk-devel-8.4.13-5.el5_1.1.i386.rpm

I tried to install the tcl-devel-8.4.13-3.fc6.i386.rpm package using the following command: "rpm -ivh --force tcl-devel-8.4.13-3.fc6.i386.rpm

I get the following error message: "Warning: tcl-devel-8.4.13-3.fc6.i386.rpm header V3 DSA signature: NOKEY, key ID 37017186 error: failed dependencies: libtcl8.4.so is needed by tcl-devel-8.4.13-3.fc6.i386.rpm"

I have scoured the internet and everything says to install these packages to get the tcl and tk libraries.

View 4 Replies View Related

Programming :: Write A Gui App With Python2.6.4 And Wx On Win XP?

Feb 25, 2010

I am trying to write a gui app with python2.6.4 and wx on win XP. I am attempting to resize an image with Imagemagick from within the program using os.popen and os.system in a thread.

Code:
os.popen("mogrify -resize " + str(x) + "x" + str(y) + "!" + " images/static/" + my_ref + ".gif")
orCode:
os.system("mogrify -resize " + str(x) + "x" + str(y) + "!" + " images/static/" + my_ref + ".gif")
they both work as far as resizing the image but when os.system is used a command shell opens during the mogrify and when os.popen is used the command shell does not show but the rest of the program freezes until mogrify is done.

I would prefer that the program did not freeze during this process and the command shell did not show.I have tried using wx to scale the image but the scaled image looks crappy.anyway is there a way to use os.system and not have the shell show?

View 2 Replies View Related

Software :: ./configure Problem For Libsf Library Due To Apparently Missing Libdb Library ?

Aug 4, 2011

./configure script fails to configure libsf. Please check the following last few lines of configure script error.

But find command shows the following;

It seems the file libdb does exist. man dbopen displays man page for dbopen. I also tried to ln -s /usr/lib/libdb.a and libdb.so /lib dir but all were in vain.

View 6 Replies View Related

Red Hat / Fedora :: Pdate Python2.4 To 2.7 Without Removin 2.4?

Jun 9, 2011

Does anyone know how to update python2.4 to 2.7 without removin 2.4

View 3 Replies View Related

Ubuntu :: Error: Dependency Is Not Satisfiable: Python2.5

Jun 13, 2010

I try to install ultamatix on my ubuntu 10.04 system and i come up with the same error every time:

Error: Dependency is not satisfiable: python2.5

what do i do to successfully use ultamatix

View 2 Replies View Related

OpenSUSE Install :: Setting Up The Apache2.2.6 And Mod_wsgi3.2 And Python2.5.4

May 8, 2011

So far, I have done all the steps (including creating django.wsgi in the project). The step left is to turn on the httpd, but error put exit in this very last step.

Code:
<user> #: ./apachetrl start
httpd: Syntax error on line 450 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/mod_wsgi.so into server: libpython2.5.so.1.0: cannot open shared object file: No such file or directory

View 2 Replies View Related

Ubuntu :: Lots Of Errors / Python2.6 / Import CommandNotFound?

Jan 13, 2010

When executing different programs varying from the Ubuntu Software Manager to pstotxt and lots of other programs I get tons of errors that have to do with Python2.6, whatever it is. I think it got corrupted since my netbook turned of while installing some (Dutch) language packs.The smaller problem, is that the language packs failed to install properly, and I can see some Dutch sentences between the English ones sometimes...The major prolem, is that somehow a lot of programs won't work anymore, mainly terminal programs. pstotxt is one of any examples. Installing software doesn't always work because of these errors.

This is the output when I want to use pstotxt to convert a .pdf to .txt file:

Code:
Traceback (most recent call last):
File "/usr/lib/command-not-found", line 8, in <module>
import CommandNotFound
File "/usr/lib/python2.6/dist-packages/CommandNotFound/__init__.py", line 1, in <module>
from CommandNotFound import CommandNotFound
code....

View 3 Replies View Related

Ubuntu :: Install Python2.4 On Natty (for Airpwn) Error 134?

Aug 17, 2011

So I've been looking to try out Airpwn, but it seems to only run with Python2.4. Natty, buy default uses Python2.7, and Airpwn will not compile with it. Python2.5 is the lowest in the repos. I tried just downloading Python2.4, and doing the "./configure, make, make install" dance, but I end up with

Code:
root@L1NUX:~/Python-2.4# make
[...code snipped to save space...]
Aborted
make: *** [sharedmods] Error 134

install Python2.4 on Natty? Any method will do fine. If you have a .deb that would be even greater. Anyone who's been able to run Airpwn on something other than Python2.4 is also welcome to tell me their solution. (There used to be a .deb for Airpwn itself, but it seems one was never made for Natty.)

View 2 Replies View Related

Slackware :: Trying To Install 'Gmail Backup' But It Requires Python2.5

May 9, 2011

When I run the install of 'Gmail Backup' (from URL...) an error msg appears stating that I must have python2.5 - I presently have python2.8Is there any way to solve this without destroying my Slackware 13.37 installation?

View 6 Replies View Related

Fedora Installation :: Test An Application GUI With Python 2.4, 2.5 And 2.6. Python2.6 Is Native In F12?

May 21, 2010

I am driving Fedora 12 and need to test an application GUI with Python 2.4, 2.5 and 2.6. Python2.6 is native in F12 at /usr/lib... and I have alt-installed 2.4 and 2.5 at /usr/local/lib... Site-packages directories for 2.4 and 2.5 are empty. I have tried different tricks to install gtk-2.0 and pygtk in the site-packages of 2.4 and 2.5. But could not find a working solution.

My latest trial was to download Fedora 7 live and copy from its python2.5 gtk-2.0 and pygtk.* to F12:/usr/local/lib/python2.5/site-packages. Results were as follows:

Python 2.5.5 (r255:77872, May 13 2010, 17:15:51)
[GCC 4.4.3 20100127 (Red Hat 4.4.3-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
>>> import gtk
Traceback (most recent call last):

[Code]...

View 2 Replies View Related

Ubuntu Security :: Warning: Network TCP Port 32982 Is Being Used By /usr/bin/python2.6

Mar 30, 2011

I'm relatively new to Ubuntu and these forums. I ran rkhunter, and saw this warning in the check for backdoor ports: [14:45:09] Warning: Network TCP port 32982 is being used by /usr/bin/python2.6. Possible rootkit: Solaris Wanuk Use the 'lsof -i' or 'netstat -an' command to check this. I also saw these warnings toward the bottom:

[Code]....

I was wondering first of all about the first warning, the port. I have a feeling that the second set of warnings are false positives, but I would be open to thoughts on that as well.

View 9 Replies View Related

Programming :: SDL Static Library - Shared Library ?

Apr 7, 2009

I'm reading about shared, static, and dynamic libraries. What is SDL? Is it static, shared, or dynamic?

I always thought a library would be a lot of .h and .cpp files compiled separately into .o files and then if you compiled your own program you could use the -l parameter to link the library and it was all compiled together. Now I'm not so sure.

I don't even see any SDL .cpp files in my system anywhere. All I have are lots of SDL .h files in /usr/include/SDL and I don't really understand the code in them.

I'm making a wild guess here: SDL is a shared library. SDL itself is NOT compiled into my program, therefore SDL must be on any system my program tries to run on. When I compile and link SDL all it needs is the header files to know what SDL function and objects it can use. And then on every system it uses an already compiled SDL shared library thingy somewhere.

So... where is that part of SDL? All I can find are header files.

I'm thinking the advantage of shared libraries is that someone could say update SDL on their own system and take advantage of the new features without having to download new executables with the new version of SDL compiled into them for every program that uses SDL.

So if I'm making an editor and a game engine and they both use a lot of the same .cpp and .h files that I wrote and I'm tired of updating one and then the other and I need to turn them into a library, then a shared library might be kind of a silly solution. I could just make a static library. Right? Because it's not SDL. Nobody else is ever going to use this library.

View 6 Replies View Related

Ubuntu Installation :: Tossim Execution Error - Python2.5 Config Not Found

Aug 3, 2010

I installed tinyos-2.x in Ubuntu lucid. I tried to simulate tossim environment for simple Blink application using the command: make micaz sim and ended up with the following error:

mkdir -p simbuild/micaz
make: python2.5-config: Command not found
make: python2.5-config: Command not found
make: python2.5-config: Command not found
and
Python.h: No such file or directory
and
make: *** [sim-exe] Error 1

Eventually installed python-old-doctools package which supposedly includes python2.5-config package but alas! It doesn't compile yet.

View 4 Replies View Related

Ubuntu Installation :: Dpkg - Error Processing /var/cache/apt/archives/python2.6-minimal_2.6.6-5ubuntu1_i386

Oct 16, 2010

I have the following issue:

Running

Code:

results in above error.

Running

Code:

results in above error.

Running

Code:

Is not able to fix this.

View 2 Replies View Related

Programming :: Convert A Dynamic Library (filename.so) To A Static Library (filename.a)?

Nov 18, 2009

How can we convert a dynamic library (filename.so) to a static library (filename.a) using gnu gcc . Can we get a static library form a dynamic library . I saw a few post in which the conversion form a static library to a dynamic library is mentioned but, unfortunately, not the other way.

View 4 Replies View Related

Ubuntu :: Error "Python.h: No Such File Or Directory" Yet Have Installed Python2.6-dev

Mar 3, 2010

I'm trying to extend Python with C but when I compile this message is displayed:

[Code]...

I have already installed python2.6-dev and I have Python.h in the dyrectory /usr/include/python2.6/Python.h.

View 2 Replies View Related

Ubuntu :: Importing PDF To OpenOffice?

Aug 28, 2010

How do I import a PDF files contents perfectly into OOo Word Processor?

View 9 Replies View Related

Ubuntu :: Importing Bookmarks From 10.04 To 11.04

May 14, 2011

I've upgraded from 10.04 to 11.04, in the process I did not get bookmarks saved. I've have since gone into the 'old' file system and have now gotten the old bookmarks.html file into the 11.04 file system. How do I get them imported into Firefox?

View 6 Replies View Related

Fedora :: F13 - Gnote Not Importing F12 Notes

Jul 5, 2010

Virgin install of F13. Rsync (copy) notes from backup harddisk of F12 to /home/bill/.gnote. Release notes say "Notes stored in previous versions are automatically migrated from .gnote to .local/share/gnote in the users home directory." Nothing is migrating anywhere. Before I start messing about. I have I missed something dumb?

View 2 Replies View Related

Fedora :: Importing RPM Fusion Keys?

Jan 22, 2011

I've searched a number of forum posts and have seen similar issues but the specifics are different and I haven't yet found a solution. I'm running Gnome on Fedora 13 and clicked "Install Updates." About 513 packages were set to be installed, but I get an error midway through:

Quote: The GPG keys listed for the "RPM Fusion for Fedora Rawhide - Free" repository are already installed but they are not correct for this package. Check that the correct key URLs are configured for this repository.

I've tried installing RPM Fusion keys and get an error saying they require "system >=15" (Fedora 15, I'm guessing?) and I don't recall ever adding these keys manually myself. Or if so, I can't recall what I did to get them in there.

I've read that some people can solve this by using a "--nogpgcheck" at the command line, but I don't know what the command line equivalent will be for this update. Ideally, I'd like to continue using the GUI updater since it offers all the info about the packages. So my hope would be to:

1. Identify the problem gpg keys
2. Install the right ones
3. Run the installer again and see everything work.

View 4 Replies View Related

Fedora :: Importing Formula Into A Ppt In Openoffice

Apr 6, 2011

i have edited a formula in formula editor and saved that file ... i wanna import that formula into my ppt (odt i think) .. ( i know its dumb question dumbest i ever asked .. i need to prepare my presentation real quick say 1/2 hr from now

View 1 Replies View Related

Ubuntu :: Importing TB Info Into Evolution

Feb 2, 2010

I am using TB 3.0.1 on Karmic. I finally took a look at Evolution and I like the contact features. I have been looking for a replacement for ACT (I recently migrated from XP) and this looks like it might fit the bill. Is it possible to import all of my emails, contacts, folders etc from TB into Evolution. I would like to try it out and see if it works for me. I am in sales and need a program to keep track of leads.

View 2 Replies View Related

Ubuntu :: Python Will Only Importing Locally

Mar 5, 2010

I am having a problem with Python. I type "import" and it will not import. It will only import locally.

View 2 Replies View Related

Ubuntu :: OpenProj Not Importing From Planner?

Jul 27, 2010

Does anyone know why OpenProj 1.4 running on Ubuntu 10.04 say its importing my 0.14.4 planner file and just keeps forever trying??

View 1 Replies View Related

Ubuntu Multimedia :: Importing CDs Into Exaile

Aug 5, 2010

I'm on Xubuntu 10.04 and I'd like to import some CDs as MP3 via exaile. Right now, I'm getting this error:

Code:
Exception in thread Thread-12:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner

[Code].....

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved