Has anyone successful used oracledb with Mac M1 - node.js

I have 2021 MacBook Pro M1 and I have nodes project where I am trying to use oracledb package and when I run I get the following error message:
Error: DPI-1047: Cannot locate a 64-bit Oracle Client library: "dlopen(/Users/.../mac_client/instantclient_19_8/libclntsh.dylib, 0x0001): tried: '/Users/.../mac_client/instantclient_19_8/libclntsh.dylib' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))". See https://oracle.github.io/node-oracledb/INSTALL.html for help
I have gone to the site and cannot find instructions on how to resolve my issue. I have also done several searches and have not found anything. I am just wondering if anyone in this community has run into this issue and how did you resolve it.
Any and all help is appreciated.

Related

How to solve "plugin failed code 127" compiling with nanopb

I am trying to compile a c++ code in an conan enviroment, here are details:
Ubuntu 18.04 WSL x86-64
Windowns 10 x64
python 3.7.5
protoc 3.19.4
The project is located at /mnt/c/project
The build directory is located at /mnt/c/build
The build occurs without any errors but when I try to compile with "ninja" it throws an error related to protoc-gen-nanopb, as you can see attached image.
I tried to install a new protobuf from its c++ source, i added the LD_LIBRARY_PATH that was missing, and I have also tried to clean everything and erase all the files and build again. Everything seems to fail. I believe it's related to compatibility between protobuf and my python version, but I am not sure.
Could someone help me understand how to solve it? I am new to ubuntu and stackoverflow and i am sorry if some information is missing. In this case, just ask.
Error 127

I am getting error installing wgrib2 on Mac OS

I need help installing wgrib2 on my macOS BigSur.
I have struggled with it for the past couple of days. I followed the instruction in https://bovineaerospace.wordpress.com/2017/08/20/how-to-install-wgrib2-in-osx/
But I am getting an error shown below when I compile.
Please what is causing the error and how can I resolve it.
(base) XXX#XXX-MBP grib2 % make
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
make: *** No rule to make target `uncomment', needed by `for'. Stop.
Thank you for the help.
Successfully installed wgrib2 via mac port.
See link below.
https://ports.macports.org/port/wgrib2/
I first installed all the dependencies before installing the wgrib2.

Ubuntu/Darling - dyld: Failed to load native library: libSimpleWebKit.so

I'm attempting to use Darling directly built from source on Github, I ran in to a few issues with building and dependencies, but with the help of apt-file I got through all the little problems. Now, I'm trying to run Sourcetree From Atlassian (as Wine can't seem to handle the windows version) and am getting the following error. Would anyone happen to have an idea on why? Currently running Ubuntu 13.04 64bit.
dyld: Cannot execute binary file: Failed to load native library: libSimpleWebKit.so: cannot open shared object file: No such file or directory
I just had this error myself. The error message tells you already everything you need to know: The appropriate library - libsimplewebkit - was not found and needs to be installed. Just search for simplewebkit with your distros package manager and install the appropriate package. If it doesn't find anything you will need to compile it yourself.

How to install libjpeg-turbo8 on Ubuntu 12.0.4

As suggested by Google, I'm trying to get http://jpegclub.org/jpegtran/ working on my Ubuntu server, but I'm getting the error:
"jpegtran: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory"
A Google search told me to install (via apt-get) libjpeg-turbo8, however apt-get can't find the package. My own Ubuntu computer (running 12.0.10) can find the package just fine.
I tried installing http://sourceforge.net/projects/libjpeg-turbo/ with no luck.
Am I doing something wrong or have I missed something? How do I get jpegtran working?
This question may be old, but i was trying to run the glassfish updatetool and it failed because of the lack of the libjpeg library.
Steps i did take:
1. install libjpeg62:i386 (for 64 bit ubuntu amd6)
I hope it helps someone

Trouble with codeblocks installation on Ubuntu 9.10

I installed Code::Blocks on Ubuntu 9.10, but when I start it from terminal, it shows the following error:
relocation error: /usr/lib/libcodeblocks.so.0: symbol _Z18wxSafeConvertWX2MBPKw, version WXU_2.8.2 not defined in file libwx_baseu-2.8.so.0 with link time reference
What is wrong with it? It seems to me I have installed all necessary libraries. Any ideas?
P.S. I am a Linux noobie - so sorry if it is some kind of a well-known mistake.
The most likely problem is that libcodeblocks.so.0 was (apparently) linked against libwx_baseu-2.8.2.so, but the libwx_baseu you have installed is an earlier version 2.8.0.
Try locating libwx_baseu-2.8.2.so or some such and installing that.

Resources