Just tried that. Left the "build" folder as-is, ran "uninstall," then emptied "build" (well, renamed it for backup and created a new "build") and ran cmake again. Same result.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build $ sudo make uninstall [sudo] password for daniel: -- Uninstalling "/usr/local/lib64/pkgconfig/fluidsynth.pc" -- Uninstalling "/usr/local/bin/fluidsynth" -- Uninstalling "/usr/local/lib64/libfluidsynth.so.2.3.2" -- Uninstalling "/usr/local/lib64/libfluidsynth.so.2" -- File "/usr/local/lib64/libfluidsynth.so.2" does not exist. -- Uninstalling "/usr/local/lib64/libfluidsynth.so" -- File "/usr/local/lib64/libfluidsynth.so" does not exist. -- Uninstalling "/usr/local/include/fluidsynth/audio.h" -- Uninstalling "/usr/local/include/fluidsynth/event.h" -- Uninstalling "/usr/local/include/fluidsynth/gen.h" -- Uninstalling "/usr/local/include/fluidsynth/ladspa.h" -- Uninstalling "/usr/local/include/fluidsynth/log.h" -- Uninstalling "/usr/local/include/fluidsynth/midi.h" -- Uninstalling "/usr/local/include/fluidsynth/misc.h" -- Uninstalling "/usr/local/include/fluidsynth/mod.h" -- Uninstalling "/usr/local/include/fluidsynth/seq.h" -- Uninstalling "/usr/local/include/fluidsynth/seqbind.h" -- Uninstalling "/usr/local/include/fluidsynth/settings.h" -- Uninstalling "/usr/local/include/fluidsynth/sfont.h" -- Uninstalling "/usr/local/include/fluidsynth/shell.h" -- Uninstalling "/usr/local/include/fluidsynth/synth.h" -- Uninstalling "/usr/local/include/fluidsynth/types.h" -- Uninstalling "/usr/local/include/fluidsynth/voice.h" -- Uninstalling "/usr/local/include/fluidsynth/version.h" -- Uninstalling "/usr/local/include/fluidsynth.h" -- Uninstalling "/usr/local/share/man/man1/fluidsynth.1" Built target uninstall build $ build $ build $ build $ cd .. fluidsynth $ mv build build_20200419-BACKUP fluidsynth $ mkdir build fluidsynth $ cd build build $ cmake -DLIB_SUFFIX="" .. -- The C compiler identification is GNU 6.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Checking whether system has ANSI C header files -- Looking for 8 include files dlfcn.h, ..., float.h -- Looking for 8 include files dlfcn.h, ..., float.h - found -- Performing Test memchrExists -- Performing Test memchrExists - Success -- Performing Test freeExists -- Performing Test freeExists - Success -- ANSI C header files - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for DIR in sys/stat.h;sys/types.h;dirent.h -- Looking for DIR in sys/stat.h;sys/types.h;dirent.h - found -- Looking for stdio.h -- Looking for stdio.h - found -- Looking for math.h -- Looking for math.h - found -- Looking for errno.h -- Looking for errno.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for netinet/tcp.h -- Looking for netinet/tcp.h - found -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for getopt.h -- Looking for getopt.h - found -- Performing Test _have_inline -- Performing Test _have_inline - Success -- Performing Test _have_vla -- Performing Test _have_vla - Success -- Check if the system is big endian -- Searching 16 bit integer -- Check size of unsigned short -- Check size of unsigned short - done -- Searching 16 bit integer - Using unsigned short -- Check if the system is big endian - little endian -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for inet_ntop -- Looking for inet_ntop - found -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29") -- Checking for modules 'glib-2.0>=2.6.5;gthread-2.0>=2.6.5' -- Found glib-2.0, version 2.50.3 -- Found gthread-2.0, version 2.50.3 -- Checking for module 'sndfile>=1.0.0' -- Found sndfile, version 1.0.27 -- Checking for module 'sndfile>=1.0.18' -- Found sndfile, version 1.0.27 -- Checking for module 'libpulse-simple>=0.9.8' -- Found libpulse-simple, version 10.0 -- Checking for module 'alsa>=0.9.1' -- Found alsa, version 1.1.3 -- Checking for module 'jack' -- Found jack, version 0.125.0rc1 -- Checking for module 'lash-1.0>=0.3' -- No package 'lash-1.0' found -- Checking for module 'libsystemd' -- No package 'libsystemd' found -- Checking for module 'dbus-1>=1.0.0' -- Found dbus-1, version 1.10.28 -- Looking for ladspa.h -- Looking for ladspa.h - found -- Checking for module 'gmodule-2.0>=2.6.5' -- Found gmodule-2.0, version 2.50.3 -- Checking for module 'libinstpatch-1.0>=1.1.0' -- No package 'libinstpatch-1.0' found -- Checking for module 'sdl2' -- No package 'sdl2' found -- Checking for module 'readline' -- No package 'readline' found -- Could NOT find READLINE (missing: READLINE_INCLUDE_DIR READLINE_LIBRARIES) -- Found OpenMP 201511 -- Looking for sinf -- Looking for sinf - not found -- Looking for cosf -- Looking for cosf - not found -- Looking for fabsf -- Looking for fabsf - not found -- Looking for powf -- Looking for powf - not found -- Looking for sqrtf -- Looking for sqrtf - not found -- Looking for logf -- Looking for logf - not found -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- ************************************************************** Build Summary: Build type: RelWithDebInfo Install Prefix: /usr/local Audio / MIDI driver support: ALSA: yes CoreAudio: no CoreMIDI: no DSound: no JACK: yes MidiShare: no Oboe: no OpenSLES: no OS/2 DART: no OSS: yes PortAudio: no PulseAudio: yes SDL2: no WaveOut: no WinMidi: no Support for SF3 files: yes Support for DLS files: no (libinstpatch not found) Audio to file rendering: yes libsndfile: yes Miscellaneous support: D-Bus: yes LADSPA support: yes LASH support: no NETWORK Support: yes IPV6 Support: yes Readline: no systemd: no Developer nerds info: Samples type: double Multithread rendering: yes OpenMP 4.0: yes Profiling: no Debug Build: no Trap on FPE (debug): no Check FPE (debug): no UBSan (debug): no ************************************************************** -- Configuring done -- Generating done -- Build files have been written to: /home/daniel/fluidsynth/build build $ sudo make install Scanning dependencies of target gentables [ 1%] Creating directories for 'gentables' [ 3%] No download step for 'gentables' [ 5%] No patch step for 'gentables' [ 7%] No update step for 'gentables' [ 9%] Performing configure step for 'gentables' -- The C compiler identification is GNU 6.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/daniel/fluidsynth/build/src/gentables [ 11%] Performing build step for 'gentables' Scanning dependencies of target make_tables [ 25%] Building C object CMakeFiles/make_tables.dir/make_tables.c.o [ 50%] Building C object CMakeFiles/make_tables.dir/gen_conv.c.o [ 75%] Building C object CMakeFiles/make_tables.dir/gen_rvoice_dsp.c.o [100%] Linking C executable make_tables.exe [100%] Built target make_tables [ 13%] Performing install step for 'gentables' [ 15%] Completed 'gentables' [ 15%] Built target gentables Scanning dependencies of target libfluidsynth-OBJ [ 16%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/drivers/fluid_alsa.c.o [ 18%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/drivers/fluid_aufile.c.o [ 20%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/bindings/fluid_rtkit.c.o [ 22%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/drivers/fluid_jack.c.o /home/daniel/fluidsynth/src/drivers/fluid_jack.c: In function ‘fluid_jack_client_register_ports’: /home/daniel/fluidsynth/src/drivers/fluid_jack.c:504:13: warning: ‘fluid_synth_set_sample_rate’ is deprecated [-Wdeprecated-declarations] fluid_synth_set_sample_rate(synth, jack_srate); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/daniel/fluidsynth/build/include/fluidsynth.h:97:0, from /home/daniel/fluidsynth/src/utils/fluidsynth_priv.h:49, from /home/daniel/fluidsynth/src/utils/fluid_sys.h:42, from /home/daniel/fluidsynth/src/synth/fluid_synth.h:31, from /home/daniel/fluidsynth/src/drivers/fluid_jack.c:31: /home/daniel/fluidsynth/include/fluidsynth/synth.h:179:38: note: declared here FLUID_DEPRECATED FLUIDSYNTH_API void fluid_synth_set_sample_rate(fluid_synth_t *synth, float sample_rate); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 24%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/drivers/fluid_oss.c.o [ 26%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/drivers/fluid_pulse.c.o [ 28%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/utils/fluid_conv.c.o [ 30%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/utils/fluid_hash.c.o [ 32%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/utils/fluid_list.c.o [ 33%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/utils/fluid_ringbuffer.c.o [ 35%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/utils/fluid_settings.c.o [ 37%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/utils/fluid_sys.c.o [ 39%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/sfloader/fluid_defsfont.c.o [ 41%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/sfloader/fluid_sfont.c.o [ 43%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/sfloader/fluid_sffile.c.o [ 45%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/sfloader/fluid_samplecache.c.o [ 47%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_adsr_env.c.o [ 49%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_chorus.c.o [ 50%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_iir_filter.c.o [ 52%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_lfo.c.o [ 54%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_rvoice.c.o [ 56%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_rvoice_dsp.c.o [ 58%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_rvoice_event.c.o [ 60%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_rvoice_mixer.c.o [ 62%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/rvoice/fluid_rev.c.o [ 64%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/synth/fluid_chan.c.o [ 66%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/synth/fluid_event.c.o [ 67%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/synth/fluid_gen.c.o [ 69%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/synth/fluid_mod.c.o [ 71%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/synth/fluid_synth.c.o [ 73%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/synth/fluid_synth_monopoly.c.o [ 75%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/synth/fluid_tuning.c.o [ 77%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/synth/fluid_voice.c.o [ 79%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/midi/fluid_midi.c.o [ 81%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/midi/fluid_midi_router.c.o [ 83%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/midi/fluid_seqbind.c.o [ 84%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/midi/fluid_seq.c.o [ 86%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/drivers/fluid_adriver.c.o [ 88%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/drivers/fluid_mdriver.c.o [ 90%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/bindings/fluid_cmd.c.o [ 92%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/bindings/fluid_filerenderer.c.o [ 94%] Building C object src/CMakeFiles/libfluidsynth-OBJ.dir/bindings/fluid_ladspa.c.o [ 94%] Built target libfluidsynth-OBJ Scanning dependencies of target libfluidsynth [ 96%] Linking C shared library libfluidsynth.so [ 96%] Built target libfluidsynth Scanning dependencies of target fluidsynth [ 98%] Building C object src/CMakeFiles/fluidsynth.dir/fluidsynth.c.o [100%] Linking C executable fluidsynth [100%] Built target fluidsynth Install the project... -- Install configuration: "RelWithDebInfo" -- Installing: /usr/local/lib/pkgconfig/fluidsynth.pc -- Installing: /usr/local/bin/fluidsynth -- Set runtime path of "/usr/local/bin/fluidsynth" to "" -- Installing: /usr/local/lib/libfluidsynth.so.2.3.2 -- Installing: /usr/local/lib/libfluidsynth.so.2 -- Installing: /usr/local/lib/libfluidsynth.so -- Installing: /usr/local/include/fluidsynth/audio.h -- Installing: /usr/local/include/fluidsynth/event.h -- Installing: /usr/local/include/fluidsynth/gen.h -- Installing: /usr/local/include/fluidsynth/ladspa.h -- Installing: /usr/local/include/fluidsynth/log.h -- Installing: /usr/local/include/fluidsynth/midi.h -- Installing: /usr/local/include/fluidsynth/misc.h -- Installing: /usr/local/include/fluidsynth/mod.h -- Installing: /usr/local/include/fluidsynth/seq.h -- Installing: /usr/local/include/fluidsynth/seqbind.h -- Installing: /usr/local/include/fluidsynth/settings.h -- Installing: /usr/local/include/fluidsynth/sfont.h -- Installing: /usr/local/include/fluidsynth/shell.h -- Installing: /usr/local/include/fluidsynth/synth.h -- Installing: /usr/local/include/fluidsynth/types.h -- Installing: /usr/local/include/fluidsynth/voice.h -- Installing: /usr/local/include/fluidsynth/version.h -- Installing: /usr/local/include/fluidsynth.h -- Installing: /usr/local/share/man/man1/fluidsynth.1 build $ ~ $ fluidsynth --version fluidsynth: error while loading shared libraries: libfluidsynth.so.2: cannot open shared object file: No such file or directory ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ On Sun, Apr 19, 2020 at 11:12 AM Tom M. via fluid-dev <fluid-dev@nongnu.org> wrote: > Seems like you need to empty the build folder before calling cmake again > for the change becoming effective. > > Tom > > > > _______________________________________________ > fluid-dev mailing list > fluid-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/fluid-dev >
_______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev