Skip to content

Not able to build .so files(shared library files) #9

Open
@tsantosh1098

Description

@tsantosh1098

Hello, I am working upsampling of point cloud using Ec-net https://github.com/yulequan/EC-Net to upsample the point cloud. now to run things parallel recent people have written cuda enabled kernals and tensorflow operators to use them under tensorflow... now there are 3 shared libraries getting generated in the project.

case 1: if I use tensorflow==1.14.0 the shared file gets generated but when I try to use that, I get following error tensorflow.python.framework.errors_impl.NotFoundError: code/tf_ops/emd/tf_auctionmatch_so.so: undefined symbol: _ZN10tensorflow12OpDefBuilder5InputENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

case 2: if I use tensorflow==1.15.0, i get /usr/bin/ld: cannot find -ltensorflow_framework

but when i go and check in /usr/local/lib/python3.6/dist-packages/tensorflow/ I get this following libtensorflow_framework.so@

but at the same time if I go and check for tf flags, import tensorflow as tf tf.sysconfig.get_link_flags()

['-L/usr/local/lib/python3.6/dist-packages/tensorflow_core',
'-l:libtensorflow_framework.so.1']

plz help me to solve this problem. thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions