I think you should recompile from source. Visit the bitcoin github repository for Fedora dependencies, you'll find them in doc/build-unix. Scroll down to Fedora. Decide whether you want bitcoin-qt or just the command line bitcoin-cli, and whether you really need wallet functionality.
Beware you will need a specific version of Berkeley DB for wallet compatibility. You can use the latest Berkeley DB though if you don't need or want that compatibility.
Download the source package from https://bitcoincore.org/en/download/. Go into your new src folder, then run
./configure --without-gui # see doc/build-unix.md, also for deps
sudo make install # goes into /usr/local/bin, /usr/local/lib, by default
This will likely resolve any issues you have now. You can take the lib paths out of /etc/ld.so.conf and undo changes to your path in ~/.profile.
HTH, let us know how it goes :)