Berkeley DB -ldb_cxx not found - berkeley-db

I'm building an application that requires Berkeley DB (http://www.resiprocate.org). I am building on OS X, and I had to install Berkeley DB since the machine did not already have it. However, the reSIProcate package I am trying to build cannot find the db_cxx library (-ldb_cxx). The installed Berkeley DB lib directory only has the following files:
libdb-5.3.a
libdb-5.3.dylib
libdb-5.4.la
libdb.a
What exactly is db_cxx...is -ldb_cxx outdated? Or is there some option I need to specify when installing Berkeley DB to create and install a db_cxx library?

libdb-cxx is API needed for c++, it is not being built by default.
To build libdb-cxx, go to the directory where you had built Berkeley Db, then
cd build_unix
../dist/configure --enable-cxx
make
sudo make install

Related

Is there a Linux equivalent of LightIngest.exe?

Is there a Linux equivalent of LightIngest.exe? The page of the utility does not mention that, search brings no luck either. In case it is not available, what is the preferred way to post ingestion items through CLI in Linux?
There is a .NET Core Kusto.Tools package - it is currently built for Core 2.1 and we will be working on updating it in the coming weeks.
https://www.nuget.org/packages/Microsoft.Azure.Kusto.Tools.NETCore/
Thanks to Vladik's answer I was able to download the package and use the included LightIngest.dll to execute an ingest through my Mac. Here are the steps:
Use nuget to download the Microsoft.Azure.Kusto.Tools.NETCore package installed:
nuget install Microsoft.Azure.Kusto.Tools.NETCore -Source nuget.org -OutputDirectory SPECIFY_OUTPUT_DIRECTORY
Navigate to the directory, and go to the tools subfolder. There you should find LightIngest.dll
Assuming you have dotnet installed (CLI) and SDK (v2.1) you should be able to execute an ingestion:
dotnet ./LightIngest.dll ...
Replace the ... with the Windows equivalent command that Azure Data Explorer Ingestion wizard suggested, and it should start ingesting!

How to update Juia portable or standalone from 1.5.0 to 1.5.1

I have configured Julia portable or standalone according to the link:Julia portable or standalone
But I want to update to the latest version of Julia 1.5.1.
How to proceed?
Should I add all the packages again?
Is there a way to import it to the new version?
Julia does not support version upgrade. It perhaps might work for some packages but you are always risking to running into issues.
Hence you need to delete the .julia folder (or set a new JULIA_DEPOT_PATH location which is configured by system variable) and just reinstall all the packages.
However if you for some reason strongly want to reuse the .julia folder you can try:
https://discourse.julialang.org/t/a-proper-introduction-on-how-to-update-julia-somewhere-accessible/28166

Is it possible to install dotnet core on macOS without using root access?

I was thinking of playing with dotnet core, but both the Homebrew cask installers and the one provided by MicroSoft require administrator access? I normally don't install packages as root, and so was wondering if there is a way to install dotnet core without root access.
You can download the macOS binaries (.tar.gz file) from the .NET Core download page, unpack it to a directory and set your PATH environment variable to include the directory you extracted the contents to.

sqlite odbc silent install

How to Silent install sqlite odbc driver ?. Found here http://www.ch-werner.de/sqliteodbc/
i found 2 methods to connect to sqlite one is above and the other one is dhSqlite(vbRichclient4.dll,vb_cairo_sqlite.dll and DirectCOM.dll). which is a class library and replacement for ADO it seems for sqlite. but i could not find any documentation for this one.
i like sqliteodbc because it just works with ADO. but dhsqlite can be installed along with the app. Also dhSqlite contains the sqlite3 engine also i suppose. is it true?.
Could you suggest which one i could follow? or is there any other option i could check?. I am looking for it to be a silent install or install as
part of my app. itself; free and supported for vb6
Thanks
If you use Inno Setup for distributing your application and use sqliteodbc 0.9996 version, we can add script like this:
[Files]
Source: sqliteodbc0.9996.exe; DestDir: {tmp}; Flags: deleteafterinstall
[Run]
Filename: {tmp}\sqliteodbc0.9996.exe; Parameters: /S; StatusMsg: "Installing SQLite ODBC Connector..."
Win32 install/remove/shell by RUNDLL32
Each driver DLL provides entry points for ODBC driver installation
and removal which can be invoked from RUNDLL32.EXE, eg
### install sqliteodbc.dll
C:> rundll32 [path]sqliteodbc.dll,install [quiet]
### remove sqlite3odbc.dll
C:> rundll32 [path]sqlite3odbc.dll,uninstall [quiet]

How do you install sqlite3 on Windows

http://www.sqlite.org/download.html - The download page shows 3 pre-compiled zips for the database. It doesn't look like a full installation. Where am I supposed to install these files?
Here is the list:
Precompiled Binaries For Windows
sqlite-shell-win32-x86-3070701.zip
(244.12 KiB) A command-line shell for accessing and modifying SQLite databases.
sqlite-dll-win32-x86-3070701.zip
(278.28 KiB) This ZIP archive contains a DLL for the SQLite library version 3.7.7.1.
sqlite-analyzer-win32-x86-3070701.zip
(710.48 KiB) An analysis program for database files compatible with all SQLite versions through 3.7.7.1 and beyond.
There are shell and analyzer program that can be used to interactively work with sqlite databases without writing any code. Shell is an interactive SQL command-line interface; and analyzer is program to get info about some sqlite database. You can place this tools anywhere, or install them to some folder, which is in your %PATH%.
DLL is compiled sqlite library that should be placed in your application directory.

Resources