LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 09-21-2013, 05:46 AM   #1
triztan
LQ Newbie
 
Registered: Sep 2013
Posts: 1

Rep: Reputation: Disabled
Compilation of bareos on arm-architecture: Missing MySQL-Header/Libs


Hey,

I want to compile a backup software ("bareos") for my Synology-NAS (running on armv5tel/linux-2.6.32). I have a working gcc-toolchain on my NAS, but missing mysql-header/libs.

Bareos supports different Database-Backends. I want to use the MYSQL-backend, because MYSQL is already up and running on my NAS (out-of-the-box).

Problem is: I don't have the mysql header / libs for compilation. If it was a different architecture (i.e. ubuntu/x86_64) I would know what to do: "apt-get install libmysqlclient-dev".

On my NAS I have ipkg to install packages, but the repository doesn't serve any mysql-DEV packages.

I tried to copy the Header-files from an Ubuntu system, but I don't have the libs, because the ubuntu-libs would be the wrong architecture -> I don't know where to get the lib-files.

QUESTION IS:
- How do I get the equivalent of libmysqlclient-dev on my NAS? Can I compile this from mysql-source?
- What's the best approach? Maybe Cross-Compile from ubuntu?

Last edited by triztan; 09-21-2013 at 05:49 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hrtimer Source on ARM architecture using SMP gaurav87 Linux - Embedded & Single-board computer 0 11-09-2012 03:19 AM
How to check missing header files included from another header file adisan82 Linux - Software 1 01-28-2011 04:57 AM
mjpegtools build error, missing libs which aren't missing vdemuth Slackware 6 03-16-2010 01:57 PM
c std libs/header files jafmarty Linux - Newbie 1 12-04-2007 01:08 AM
ARM a8 architecture corbis_demon Programming 0 10-16-2005 08:31 AM


All times are GMT -5. The time now is 03:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration