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

x86_64-suse-linux/bin/ld: cannot find -lOpenCL #229

Open
ChristophDl opened this issue Aug 19, 2019 · 0 comments
Open

x86_64-suse-linux/bin/ld: cannot find -lOpenCL #229

ChristophDl opened this issue Aug 19, 2019 · 0 comments

Comments

@ChristophDl
Copy link

Dear Linbox team,

I am trying to install linbox after having installed OpenBLAS, givaro and fflas-ffpack.

After cloning linbox from the git repository, I do

autoreconf -i
./configure PKG_CONFIG_PATH=/home/Packages/linboxall/fflasffpackinstall/lib64/pkgconfig:/home/Packages/linboxall/givaroinstall/lib64/pkgconfig --prefix=/home/Packages/linboxall/linboxinstall

A successive

make

runs into the following problems:

/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: cannot find -lOpenCL
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:574: liblinbox.la] Error 1
make[3]: Leaving directory '/home/Packages/linboxall/linbox/linbox'
make[2]: *** [Makefile:645: all-recursive] Error 1
make[2]: Leaving directory '/home/Packages/linboxall/linbox/linbox'
make[1]: *** [Makefile:600: all-recursive] Error 1
make[1]: Leaving directory '/home/Packages/linboxall/linbox'
make: *** [Makefile:472: all] Error 2

My .bash_profile includes the following lines:

export PATH="/home/Packages/linboxall/givaroinstall/include:$PATH"
export LD_LIBRARY_PATH="/home/Packages/linboxall/givaroinstall/lib64:$LD_LIBRARY_PATH"
export PATH="/home/Packages/linboxall/fflasffpackinstall/include:$PATH"
export LD_LIBRARY_PATH="/home/Packages/linboxall/fflasffpackinstall/lib64:$LD_LIBRARY_PATH"

Any help is appreciated.

Best,

Christoph

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

1 participant