Issues with dependencies when installing php70-fpm. I have newer versions of the dependencies installed, but php70-fpm requires older
I've just started using NetBSD. I'm usually a Linux/Mac user but setup NetBSD on my RaspberryPi to play about with it. I am having issues with dependencies and I'm not sure what's the best/safest thing to do.
The version of NetBSD I'm using is: Code:
NetBSD rpi 7.99.64 NetBSD 7.99.64 (RPI.201703032010Z) evbarm Code:
pkgin in php70-fpm Code:
/usr/lib/libssl.so.10, needed by php70-fpm-7.0.0 is not present in this system. Code:
/usr/lib/libssl.so I've read around the net and some suggest to copy libssl.so.11 to libssl.so.10. I am not sure if they're backwards compatible, or if any issues will arise. Can anyone shed some light on the best thing to do here to get php70-fpm installed? |
I wouldn't copy the library - I'd simply create a symbolic link to the other one.
ln -s /usr/lib/libssl.so.11 /usr/lib/libssl.so.10 Many times linking the newer library to the older solve problems like this and it would be the first thing I'd try. Usually your compile is looking for specific functions and if the newer library no longer contains that you'll get an error about that so you'll know before relying on it if you don't have what you need. Of course this begs the question why you don't want to use a newer php that presumably uses the newer library as a prerequisite. |
Quote:
It would help to see what repository you are trying to use /usr/pkg/etc/pkgin/repositories.conf |
Quote:
Regarding the newer version of PHP, I have been digging around to try and find the latest version. Today is my first day with NetBSD so I'm just getting used to the package manager and how everything works. I'm going to find the latest version and see if that works. Edit: Found the pkgin docs http://pkgin.net/ ... It seems 7.0 is latest version available so will try and build latest from source, but I'm a bit skeptical about doing it on a rpi. |
You will probably need to build from source.
|
Quote:
|
Or you could make your life easier and not run NetBSD -current. That way you'd have binary packages.
|
Quote:
Copying to SD now and will give it a test. Thanks for all the help guys. |
7.1 is the latest release yes.
|
Stable installed, everything set up again and working. There's not php71-fpm package, but I knew that already. Will cross compile and look into contributing to the repos. Never done it before but I don't mind learning how if it helps others.
|
All times are GMT -5. The time now is 10:42 PM. |