Path of Oracle.DataAccess.dll file on a linux server - linux

I am looking for the path of Oracle.DataAccess.dll file on a linux server.
Usual location of the file is:
"/Database/oracle/product/11.2.0/dbhome_1/ODP.NET/bin/2.x"
But there is no directory named ODP.NET in the location "/Database/oracle/product/11.2.0/dbhome_1/"
I also tried searching for the directory using the following command.
find / -name "ODP.NET"
Anyone has solution for this problem?

DDLs are libraries for windows. Those libraries do not work on Linux.
AFAIK, ODP.NET means "Oracle Data Provider" for .NET, whichis a Microsoft framework and probably does not work with Linux

Related

Windows Linux Subsystem - File permissions when edited outside bash [duplicate]

As the title suggests, if I paste a c file written somewhere else into the root directory of the Linux Subsystem, I can't compile it.
I did a test where I made two differently titled hello world programs: one in vi that I can get into from the bash interface, and one elsewhere. When I compiled the one made in vi, it worked fine. Trying to do so for the one made elsewhere (after pasting it into the root directory), however, resulted in this:
gcc: error: helloWorld2.c: Input/output error
gcc: fatal error: no input files
compilation terminated
Any help with this would be much appreciated.
Do not change Linux files using Windows apps and tools!
Assuming what you meant by "paste a C file written somewhere else into the root directory of the Linux subsystem" is that you pasted your file into %localappdata%\lxss, this is explicitly unsupported. Files natively created via Linux syscalls in this area have UNIX metadata, which files natively created with Windows tools don't have.
Use /mnt/c (and the like) to access your Windows files from Linux; don't try to modify Linux files from Windows.
Quoting from the Microsoft blog linked at the top of this answer (emphasis from the original):
Therefore, be sure to follow these two rules in order to avoid losing files, and/or corrupting your data:
DO store files in your Windows filesystem that you want to create/modify using Windows tools AND Linux tools
DO NOT create / modify Linux files from Windows apps, tools, scripts or consoles
You cannot copy (by default, who knows how Windows bash is set up!) files into the root directory! Your gcc error is say "no input files", so the copy has most likely failed. Copy the files to your home directory instead, for instance:
cp helloWorld2.c ~/
instead of:
cp helloWorld2.c /

Virtuoso Upgrade

I have a Virtuoso version 06.01.3127 installed on Ubuntu 14.04.05 LTS version (Ubuntu-server).
I would like to upgrade my Virtuoso to at least version 7.2.4.2+, which includes the GeoSpatial features that I need.
I have looked the info provided in the following link Virtuoso: Upgrading from Release 6.x to Release 7.x but I have not been able to follow these steps.
To start with, the second step "Check the size of the .trx file, typically found alongside the .db and .ini files".
I can only find the odbc.ini and virtuoso.ini files, which are inside /virtuoso-opensource-6.1 folder.
Am I looking in the wrong place?
Does anyone have any guidance in this matter?
Thanks in advance
OpenLink Software (producer of Virtuoso, employer of me) does not force the location of any file -- so we cannot tell you exactly where to look on your host.
virtuoso.db is the default database storage file; your local file might be any *.db. This file must be present in a mounted filesystem, and should be fully identified (with full filepath) within the active *.ini file (default being virtuoso.ini).
You might have multiple virtuoso.ini and/or virtuoso.db files in different locations in your filesystem. You might try using some Linux commands, like --
find / -name virtuoso.db -ls
find / -name virtuoso.ini -ls
find / -name '*.db' -ls
find / -name '*.ini' -ls
Installing the binary components is done by following the instructions for installation...
You can get advice from a lot of experienced Virtuoso Users on the mailing list...

How do I deploy Qt libraries with an application?

This should be really simple, but I'm having trouble. I want to include some shared Qt libraries with my application in the installation folder so the user doesn't have to download Qt separately. On Windows, this seemed to work fine, but Ubuntu complains about not being to find the Qt libraries when they are in the same folder as the application.
How do I add the installation directory to shared library search path?
I was able to add the installation directory to shared library search path by adding the following lines to the .pro file, which set the rpath of the binary to $ORIGIN (the install folder). I needed to add the location of QT libs on my current machine (/usr/lib/qt5.5 and /usr/lib/qt5.5/lib) so that the project would build in QtCreator.
unix:!macx {
# suppress the default RPATH if you wish
QMAKE_LFLAGS_RPATH=
# add your own with quoting gyrations to make sure $ORIGIN gets to the command line unexpanded
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\':/usr/lib/qt5.5:/usr/lib/qt5.5/lib"
}
(The unix:!macx line makes it apply to linux only)
Windows, Linux and OSX behave quite differently. Windows is easiest: dump all the dll's in the application dir. OSX is next and Linux is most difficult.
Linux has certain search paths for searching shared objects. These search paths are mainly system libraries and possibly some user libraries. As you do not want to mess around with system files of your user one would prefer to have the shared objects in the application dir. This is possible but you have to tell Linux to read that directory. You can do this with setting the environment variable LD_LIBRARY_PATH. You can do this with a script. See my answer.

creating a .so file for linux/aio_abi.h

I am trying to build a Linux uImage and device tree for the zynq but my computer cant find the aio_abi.h file. I have moved the Linux folder which contains the file into the shared library folder that my system is looking but the file is still not being found. I think this is because there is no .so file for the folder containing the aio_abi file. I installed libaio-dev using the Ubuntu software installer tool because get-apt isn't working on my machine because of a proxy.
Is there a way to directly create a .so file for the folder I need to include or is there something wrong with the libaio-dev install? I have an older libaio1.so file but the older version doesn't contain the aio_abi file required.
Thanks

Is there a security risk to having node.js installed on a shared server?

I have installed "node.js" on a shared server. I have rename the directory so that it can not be found easily. Also I have my node directory in a location above /public_html.
I have also installed node on my PC for programming and testing easy on my local system vrs my web server.
What I would like to know is does this create a security risk where someone could hack my sites if they knew where my node installation files exist?
I have not added the path to my bash, so the commands have to be executed manually by using the ~ representing home, and the path. Such as:
~/pathtodir/bin/npm -v

Resources