On 24.02.2013 15:18, ecir hana wrote:
On Sun, Feb 24, 2013 at 3:10 PM, M.-A. Lemburg mal@egenix.com wrote:
You can try to use dylibs
for your application, but chances are high that your users will run into problems picking up a dylib from one of the many sources for this file
I thought that if I include the dynamic library into the application bundle it should pick the version I provide..?
That's how it works on Windows, but not on a typical Unix system.
I don't know how Mac OS X works if you put the dylib into the application bundle - AFAIK, the bundle is just a directory, i.e. not special when it comes to linking, but I could be wrong.
"gcc -lname" will look for a file libname.a or libname.dylib. Please see the man page for details.
That's exactly the problem, The folder has "libpython33.dylib" file but when I do "gcc -lname libpython33" it says "i686-apple-darwin11-llvm-gcc-4.2: libpython33: No such file or directory".
Try a dtruss of the operation to check what gcc is looking for and where.
-- Marc-Andre Lemburg eGenix.com
Professional Python Services directly from the Source (#1, Feb 24 2013)
Python Projects, Consulting and Support ... http://www.egenix.com/ mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
::::: Try our mxODBC.Connect Python Database Interface for free ! ::::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/