Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with lxml not working #79

Closed
ghost opened this issue Jan 3, 2013 · 6 comments
Closed

Build with lxml not working #79

ghost opened this issue Jan 3, 2013 · 6 comments

Comments

@ghost
Copy link

ghost commented Jan 3, 2013

./distribute.sh -m "lxml kivy"

That command gives the following error message:

-L/home/david/android/python-for-android/build/libs
-L/home/david/android/python-for-android/build/python-install/lib
-lm
-lGLESv2
-lpython2.7
/usr/lib/libpython2.7.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status

I've tried cleaning the git without any success. When that didn't work I tried adding the dependencies to the build:
./distribute.sh -m "libxml2 libxslt python lxml kivy"
Also without success.

It should be noted that I can build distributions without lxml.

The same issue (although with PIL and seems to be fixed) can be found here:
(EDIT: Removed link as it was a completly different issue)

@thopiekar
Copy link
Contributor

Well I get no errors during building it via ./distribute.sh -m "lxml kivy"

Which NDK / SDK do you use?

Have you tried to make a clean build by removing the whole folder and downloading python-for-android, again?

@ghost
Copy link
Author

ghost commented Jan 3, 2013

I was using the NDK r8d and SDK 21.0 when I posted this issue. Now I'm using NDK r8c, but unfortunately, the same error is still there.

Yes, so I have.

@thopiekar
Copy link
Contributor

Please try to replace the NDK r8d with r8c.

I'm not familiar with the changes but try first of all the supported version, before using r8d.

@ghost
Copy link
Author

ghost commented Jan 4, 2013

I replaced the SDK, NDK and python-for-android with new versions of their kin (one of them being the NDK r8c), and it didn't seem to do the trick. Still the same error.

When that didn't work I tried installing python-for-android to my laptop and it works like a charm.

@thopiekar
Copy link
Contributor

Check your installation again in this case. You probably missed something..

@tito
Copy link
Member

tito commented Jan 16, 2013

Please reopen with the full compilation log, we cannot help with just this error :)
It's using the system path, so something got wrong earlier i guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants