php71-imagick unable to load dynamic library (XAMPP / APACHE on MacOS) - imagemagick

i would like to install imagick for my XAMPP server and i have a problem, since two days i'm trying to fix it.
The errormessage on XAMPP-startup:
PHP Warning: PHP Startup: Unable to load dynamic library
'/opt/local/lib/php71/extensions/no-debug-non-zts-20160303/imagick.so'
- dlopen(/opt/local/lib/php71/extensions/no-debug-non-zts-20160303/imagick.so,
9): Library not loaded: /opt/local/lib/libfreetype.6.dylib\n
Referenced from: /opt/local/lib/libMagickWand-6.Q16.5.dylib\n Reason:
Incompatible library version: libMagickWand-6.Q16.5.dylib requires
version 21.0.0 or later, but libfreetype.6.dylib provides version
15.0.0 in Unknown on line 0
In my understanding, the problem comes with libMagickWand-6.Q16.5.dylib, which require freetype in version >= 21, but i've version 15 installed...?
yesterday i tried to install the newest version for xampp but didn't had success...

if someone has the same or similar issues, my solution was to use a MAMP-server (link). There you can choose your preferred PHP-Version. MAMP comes with a lot pre-installed (but mostly not activated) PHP-Extensions like imagick.
In my opinion, MAMP is a lot easier to configure than XAMPP.

Related

How do I create instance of V8JSEngine on MacOS without Kernal 32? React.net SSR

I'm using sever side rendered react front end on a .net core MVC webapp.
I just switched over to IOS. When I tried debugging my project. I received the following errors:
DllNotFoundException: Unable to load shared library 'kernel32' or one
of its dependencies JsEngineLoadException: Failed to create instance
of the V8JsEngine. See the original error message: “Unable to load
shared library 'kernel32' or one of its dependencies.
Bassed on This issue, It seems like IOS doesn't have the package that the react script is looking for.
Is there an easy way to have V8JsEngine be less OS dependent, or set a development config for V8 to have it talk to the correct OS package?
React.Sample.Webpack.CoreMvc#1.0.0 build
webpack 4.43.0
node v16.19.0
npm 8.19.3
node v8 9.4.146.26-node.24
I tried running brew install v8.
It apparently installed v8--11.0.226.13.arm64_ventura.bottle.tar.gz, but I'm not sure how to check which version of v8 the SSR webpack is using.

Can't install Phidgets ROS driver

I have installed the Phidgets libraries following the following link and the "Hello World" example was working, but when I install the Phidgets ROS driver, I get this error:
fatal error: libphidgets/phidget21.h: No such file or directory compilation terminated.
What's causing this? The libraries have been installed by the Linux driver, right?
Phidgets, in their infinite wisdom desired to abandon the "phidget21" architecture and now have a completely different and incompatible phidgets22 driver architecture. When you installed the libraries from their web site, you can only get the version 22 driver architecture :( -- hint, version 21 is still out there on GitHub, so if you go find it, download and install everything should work as expected. Someone will need to migrate all the ROS code to the newer version 22 architecture for this to work as expected.

Stack won't build because of ippicv?

So I have a project that was initially built using cabal. I'd like to make it compatible with stack. I issue stack init. I run stack build and get
setup-Simple-Cabal-1.22.5.0-ghc-7.10.3: Missing dependency on a foreign
library:
* Missing C library: ippicv
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
I'm running ubuntu 15.10. Opencv 3.1.0 is fully installed on my machine. I can even run the sample's but for some reason I get this error. Does anyone know why?

NWRFCSDK causing issue with Ubuntu 12.10, 13.04 and Mac Mavericks

For our project we want to communicate with SAP and for that we are planning to use following:
RUBY1.9, sapnwrfc gem and NWRFCSDK
We have download the Linux x86_64 bit version of NWRFCSDK. As Ubuntu and Mac both works on Linux and Unix base operating system. We have expected that 'nwrfcsdk' will work with the above mentioned OSes.
During installation process we have followed these steps:
`
ruby setup.rb config --with-nwrfcsdk-dir=/usr/sap/nwrfcsdk
ruby setup.rb setup`
We are getting various errors. In Ubuntu when we run ruby setup.rb config command it fails.
Whereas in Mac it completes the Config command execution, however it fails on SETUP step and it shows this error
setup.rb:658: warning: Insecure world writable dir /usr/local in PATH, mode 040777
linking shared-object nwsaprfc.bundle
ld: warning: ignoring file /usr/sap/nwrfcsdk/lib/libsapucum.so, file was built for unsupported file format which is not the architecture being linked (x86_64)
ld: warning: ignoring file /usr/sap/nwrfcsdk/lib/libsapnwrfc.so, file was built for unsupported file format which is not the architecture being linked (x86_64)`
We have tried all possible ways and problem is coming with libsap files. Because it creates a nwrfcsdk.bundle for ruby which application is not able to load due to failure of libsapucum.so and libsapnwrfc.so
We got confirmation from the SAP team that they do not support Mac OSX and that is the reason it is not working in Mavericks.
However to make it work in Ubuntu 32bit we have got the other installer and that worked perfectly for the Ubuntu.
NWRFCSDK for 32 bit, SAP RFC SDK 6.40 Linux on IA32 32bit
I hope this will help others.

Imagemagick stopped working on OS X Mavericks

I had installed ImageMagick without any problems using the standard procedure (MacPorts) on Snow Leopard, however it has stopped working after an upgrade to Mavericks.
So, after much time spend looking at people with similar problems, I uninstalled it using port, then reinstalled using brew.
The installation worked fine as far as I can tell, however I now get an issue because of version incompatibility. This is what happens when I try to run convert:
ImageMagick reported error code 5. Message: dyld: Library not loaded:
/usr/local/lib/libltdl.7.dylib Referenced from:
/usr/local/Cellar/imagemagick/6.8.7-0/bin/convert
Reason: Incompatible library version:
convert requires version 11.0.0 or later,
but libltdl.7.dylib provides version 9.0.0
Apparently this library is out of date... but how to update it?
Had the same issue after upgrading to Maverick. My whole dev env was broken.
For fixing imagemagick - installed provided here - http://cactuslab.com/imagemagick/
helped me.
Hope it helps

Resources