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

make install failed #59

Closed
Helloworld-Le opened this issue Jun 25, 2019 · 2 comments
Closed

make install failed #59

Helloworld-Le opened this issue Jun 25, 2019 · 2 comments

Comments

@Helloworld-Le
Copy link

Helloworld-Le commented Jun 25, 2019

Hi,

I got this error after typing 'make install':

Making install in mpidep
make[1]: Entering directory '/home/le/Installation/MUSIC/mpidep'
make[2]: Entering directory '/home/le/Installation/MUSIC/mpidep'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/le/Installation/MUSIC/mpidep'
make[1]: Leaving directory '/home/le/Installation/MUSIC/mpidep'
Making install in rudeconfig
make[1]: Entering directory '/home/le/Installation/MUSIC/rudeconfig'
make[2]: Entering directory '/home/le/Installation/MUSIC/rudeconfig'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/le/Installation/MUSIC/rudeconfig'
make[1]: Leaving directory '/home/le/Installation/MUSIC/rudeconfig'
Making install in src
make[1]: Entering directory '/home/le/Installation/MUSIC/src'
make[2]: Entering directory '/home/le/Installation/MUSIC/src'
/bin/mkdir -p '/usr/local/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libmusic.la libmusic-c.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libmusic.so.1.0.0 /usr/local/lib/libmusic.so.1.0.0
/usr/bin/install: cannot remove '/usr/local/lib/libmusic.so.1.0.0': Permission denied
Makefile:533: recipe for target 'install-libLTLIBRARIES' failed
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory '/home/le/Installation/MUSIC/src'
Makefile:1090: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/home/le/Installation/MUSIC/src'
Makefile:440: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1

Then I used 'sudo make install', seems it was installed but when I run test files, it fails:

_mpirun -np 4 /usr/local/bin/music demo.music
/usr/local/bin/music: error while loading shared libraries: libmusic.so.1: cannot open shared object file: No such file or directory
/usr/local/bin/music: error while loading shared libraries: libmusic.so.1: cannot open shared object file: No such file or directory
/usr/local/bin/music: error while loading shared libraries: libmusic.so.1: cannot open shared object file: No such file or directory

Primary job terminated normally, but 1 process returned
a non-zero exit code.. Per user-direction, the job has been aborted.

/usr/local/bin/music: error while loading shared libraries: libmusic.so.1: cannot open shared object file: No such file or directory

mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

Process name: [[4272,1],0]
Exit code: 127
--------------------------------------------------------------------------_

I have no idea how to solve this:(
best,
luke

@dizcza
Copy link

dizcza commented Jul 1, 2019

@Helloworld-Le maybe this will help you #58

@dizcza
Copy link

dizcza commented Jul 3, 2019

@Helloworld-Le try installing not system-wide as I explained here incf-music/music-adapters#8 (comment).
But before that, make sure to remove libmusic*.so in /usr/local/lib. You can do this with sudo make uninstall

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

2 participants