Tiny Core Base > Raspberry Pi
How to install libzbar on rpi 4 8 gb arm7
Rich:
Hi ketank
--- Quote from: ketank on October 10, 2021, 09:32:46 AM ---I was not suggesting any attachment just an update ...
--- End quote ---
No problem. The statement was a little vague so your intent was not clear to me.
--- Quote ---I was able to compile but making it persistent was a big problem.
--- End quote ---
Looking here:
https://github.com/mchehab/zbar/blob/master/INSTALL.md
I saw the following:
--- Quote ---You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you give configure the option --exec-prefix=PATH, the package will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix.
--- End quote ---
So if you include this when you run configure:
--- Code: -----exec-prefix=/home/tc/package
--- End code ---
Then make should install libraries and programs under /home/tc/package.
If you install squashfs-tools.tcz you can now create an extension from the installed files like this:
--- Code: ---cd
mksquashfs package libzbar.tcz -noappend
--- End code ---
Juanito:
zbar posted (not tested)
ketank:
Thank you Juanito
Navigation
[0] Message Index
[*] Previous page
Go to full version