Skip to content

Commit bd31173

Browse files
committed
add lib64
1 parent 733415c commit bd31173

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

build_dependencies/install_linux.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,29 @@ rm -rf fcl
2424
git clone --depth 1 --branch v0.7.0 https://github.com/ambi-robotics/fcl.git
2525

2626
# Install eigen
27-
$CMAKE -B build -S eigen-3.3.9
27+
$CMAKE -B build -S eigen-3.3.9
2828
$CMAKE --install build
2929

3030
# Build and install libccd
3131
cd libccd
32-
$CMAKE . -D ENABLE_DOUBLE_PRECISION=ON
32+
$CMAKE . -DENABLE_DOUBLE_PRECISION=ON
3333
make -j4
3434
make install
3535
cd ..
3636

3737
# Build and install octomap
3838
cd octomap
39-
$CMAKE . -D CMAKE_BUILD_TYPE=Release -D BUILD_OCTOVIS_SUBPROJECT=OFF -D BUILD_DYNAMICETD3D_SUBPROJECT=OFF -D CMAKE_CXX_STANDARD=17 -D CMAKE_CXX_STANDARD_REQUIRED=ON -D CMAKE_CXX_FLAGS="-std=c++17 -Wno-error=template-id-cdtor"
39+
$CMAKE . -DCMAKE_BUILD_TYPE=Release -DBUILD_OCTOVIS_SUBPROJECT=OFF -DBUILD_DYNAMICETD3D_SUBPROJECT=OFF -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_STANDARD_REQUIRED=ON -DCMAKE_CXX_FLAGS="-std=c++17 -Wno-error=template-id-cdtor"
4040
make -j4
4141
make install
4242
cd ..
4343

4444
# Build and install fcl
4545
cd fcl
46-
$CMAKE .
46+
$CMAKE .
4747
make -j4
4848
make install
4949
cd ..
5050

51-
cd ..
51+
# Update library cache so the system can find the newly installed libraries
52+
ldconfig

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ test-command = "pytest {package}/tests"
103103

104104
[tool.cibuildwheel.linux]
105105
before-all = "bash build_dependencies/install_linux.sh"
106+
repair-wheel-command = "LD_LIBRARY_PATH=/usr/local/lib64 auditwheel repair -w {dest_dir} {wheel}"
106107
archs = ["x86_64"]
107108

108109
[tool.cibuildwheel.macos]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def get_include_dirs():
4343

4444
def get_libraries_dir():
4545
if is_nix_platform(sys.platform):
46-
lib_dirs = ["/usr/lib", "/usr/local/lib"]
46+
lib_dirs = ["/usr/lib", "/usr/local/lib", "/usr/lib64", "/usr/local/lib64"]
4747

4848
if "LD_LIBRARY_PATH" in os.environ:
4949
lib_dirs += os.environ["LD_LIBRARY_PATH"].split(":")

0 commit comments

Comments
 (0)