Hello Vibhatha, the best is to set a relative RPATH on the libraries. An example for this can be seen in the turbodbc sources: https://github.com/blue-yonder/turbodbc/blob/80a29a7edfbdabf12410af01c0c0ae74bfc3aab4/setup.py#L186-L189
Cheers Uwe On Tue, Nov 3, 2020, at 11:44 PM, Vibhatha Abeykoon wrote: > Hello, > > I have a question related to packaging an API written by using both C++ API > and Cython API of Arrow. > > For now what I do is, build Arrow from source to generate both libarrow.so > and libarrow_python.so. When using the library, I have to point the > installed *.so using the LD_LIBRARY_PATH. But when packaging the project, I > am not quite sure whether this is the correct approach. For instance, when > generating a pip package, this workflow is not a good solution. > > Any comments and suggestions? > > With Regards, > Vibhatha Abeykoon, >