otool -L issue on jailbroken iPhone - jailbreak

i connects my jailbroken iPhone which ssh and performs
otool -L /Applications/AppStore.app/AppStore
and the here is the output
/Applications/AppStore.app/AppStore:
/System/Library/PrivateFrameworks/AppStoreUI.framework/AppStoreUI (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Foundation.framework/Foundation (compatibility version 300.0.0, current version 993.0.0)
/System/Library/PrivateFrameworks/iTunesStoreUI.framework/iTunesStoreUI (compatibility version 1.0.0, current version 1.0.0)
/System/Library/PrivateFrameworks/StoreServices.framework/StoreServices (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/UIKit.framework/UIKit (compatibility version 1.0.0, current version 2380.17.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 173.8.0)
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (compatibility version 150.0.0, current version 793.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
and then i perfrom
cd /System/Library/Frameworks/CoreFoundation.framework/
the dir includes:
drwxr-xr-x 4 root wheel 204 Aug 16 23:16 ./
drwxr-xr-x 54 root wheel 1836 Feb 12 2013 ../
-rw-r--r-- 1 root wheel 861 Dec 17 2012 Info.plist
drwxr-xr-x 2 root wheel 102 Dec 17 2012 _CodeSignature/
drwxr-xr-x 2 root wheel 102 Dec 17 2012 en.lproj/
-rw-r--r-- 1 root wheel 126648 Aug 16 23:13 tokruleLE.data
their has no CoreFoundation
and i perfrom
find / | grep CoreFoundation
there is no a file called CoreFoundation too,
i thought CoreFoundation should be a dylib. but why cann't i find it. if it's not
a dylib what exactly it is?
of course my AppStore works well

Related

wkhtmltopdf 12.6 raspberry pi unpatched qt

i have the problem that my raspberry has a version of wkhtmltopdf installed that is not qt patched. But my research says that this is supposed to be fixed in version 12.6 and exactly this version I have installed.
I just installed wkhtmltopdf with apt-get install wkhtmltopdf.
What else can it be?
Here's my Linux Version:
Linux raspberrypie 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux
Here's my wkhtmltopdf Version:
wkhtmltopdf --version
wkhtmltopdf 0.12.6
Here's the output if i want to add a footer or header:
wkhtmltopdf http://google.com --footer-center 'test' Test.pdf
The switch --footer-center, is not support using unpatched qt, and will be ignored.Loading page (1/2)
Printing pages (2/2)
Done
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Cannot install R in RHEL 8.5 using a Dockerfile script

I can install R and RStudio with no problem from the RHEL 8.5 CLI.
However, when I try to automate the installation process using a Dockerfile following the instructions at https://docs.rstudio.com/resources/install-r-source/, I get the following error when trying to pass the value defined in my "export R_VERSION=4.0.2" instruction:
[ 6/11] **RUN yum install -y R-${R_VERSION}-1-1.x86_64.rpm --nogpgcheck**:
#9 0.957 Last metadata expiration check: 0:00:04 ago on Fri Mar 25 19:22:44 2022.
#9 1.066 Can not load RPM file: R--1-1.x86_64.rpm.
#9 1.071 Could not open: R--1-1.x86_64.rpm
executor failed running [/bin/sh -c yum install -y R-${R_VERSION}-1-1.x86_64.rpm --nogpgcheck]: exit code: 1
Help is appreciated.
sh-4.4# **yum install -y R-${R_VERSION}-1-1.x86_64.rpm --nogpgcheck**
Last metadata expiration check: 0:02:02 ago on Fri Mar 25 15:56:49 2022.
Dependencies resolved.
=============================================================================================================================================================== Package Architecture Version Repository Size
===============================================================================================================================================================Installing:
R-4.0.2 x86_64 1-1 #commandline 58 M
Upgrading:
glibc x86_64 2.28-164.el8_5.3 ubi-8-baseos 3.6 M
glibc-common x86_64 2.28-164.el8_5.3 ubi-8-baseos 1.3 M
glibc-minimal-langpack x86_64 2.28-164.el8_5.3 ubi-8-baseos 58 k
......
...........
.............
..................
**Complete!**
sh-4.4# r
sh: r: command not found
sh-4.4# /opt/R/${R_VERSION}/bin/R --version
R version 4.0.2 (2020-06-22) -- "Taking Off Again"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
https://www.gnu.org/licenses/.

R can't find existing header file GL/gl.h during install.packages("rgl")

I am having trouble installing 'rgl' on a Linux virtual machine (Ubuntu 18.04 - details at bottom). There are several related questions that are resolved by installing the required dependencies, however in my instance those dependency files exist and are not found by R when installing the R package "rgl".
The files in question are GL/gl.h and GL/glu.h
When running the standard install.packages("rgl"), R gives me this error in the installation report:
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no
configure: error: missing required header GL/gl.h
ERROR: configuration failed for package ‘rgl’
* removing ‘/opt/conda/lib/R/library/rgl’
Warning in install.packages :
installation of package ‘rgl’ had non-zero exit status
However, those files do exist in /usr/include/GL/ as shown here:
root#[REDACTED]:/usr/include/GL# ls -la
total 1520
drwxr-xr-x 1 root root 6 Oct 27 23:38 .
drwxr-xr-x 1 root root 4096 Oct 27 23:36 ..
-rw-r--r-- 1 root root 80393 Jun 12 01:21 gl.h
-rw-r--r-- 1 root root 421419 Jun 12 01:21 glcorearb.h
-rw-r--r-- 1 root root 848217 Jun 12 01:21 glext.h
-rw-r--r-- 1 root root 17255 May 21 2016 glu.h
-rw-r--r-- 1 root root 3315 May 21 2016 glu_mangle.h
-rw-r--r-- 1 root root 14578 Jun 12 01:21 glx.h
-rw-r--r-- 1 root root 48752 Jun 12 01:21 glxext.h
-rw-r--r-- 1 root root 4706 Apr 3 2018 glxint.h
-rw-r--r-- 1 root root 2086 Apr 3 2018 glxmd.h
-rw-r--r-- 1 root root 81112 Apr 3 2018 glxproto.h
-rw-r--r-- 1 root root 11436 Apr 3 2018 glxtokens.h
drwxr-xr-x 1 root root 37 Sep 22 04:24 internal
I tried installing the package from the terminal using this commands:
wget https://cloud.r-project.org/src/contrib/rgl_0.100.54.tar.gz
then
R CMD INSTALL --configure-args="--with-gl-includes=/usr/include/GL/" rgl_0.100.54.tar.gz
but that didn't work either.
TBH, I am not a Linux expert, so not sure if I'm close and making simple errors, or if there is something major happening under the hood to prevent this from working. I also tried quite a few things with the PATH variable in both R (using Sys.setenv("PATH"="[LONG-PATH-HERE]")) and in the terminal. When looking in the rgl package 'config' file, it seems like it is looking in the right place for the files, but I'm not sure how that file executes.
OS version:
LSB Version: core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
R Version:
> R.version
_
platform x86_64-conda_cos6-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 3
minor 6.3
year 2020
month 02
day 29
svn rev 77875
language R
version.string R version 3.6.3 (2020-02-29)
nickname Holding the Windsock
Thank you, stack overflow comrades.

How to use latest OpenSSL for Nginx?

My server OS is CentOS release 6.6
It has OpenSSL version 1.0.1e-fips
/usr/bin/openssl version
OpenSSL 1.0.1e-fips 11 Feb 2013
I want to install latest OpenSSL in different location and use it for Nginx.
/usr/local/bin/openssl version
OpenSSL 1.0.1i 6 Aug 2014
Also want to verify which OpenSSL the currently running Nginx is using.

Install Qt with Cocoa

I uninstalled my Qt set up and reinstalled with the latest 4.7.1 on my Mac running Snow Leopard using the Cocoa version of Qt from http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x (Cocoa binary package)
However, I seem to be still running the Carbon version:
$ otool -L /Library/Frameworks/QtGui.framework/QtGui
/Library/Frameworks/QtGui.framework/QtGui:
QtGui.framework/Versions/4/QtGui (compatibility version 4.7.0, current version 4.7.1)
QtCore.framework/Versions/4/QtCore (compatibility version 4.7.0, current version 4.7.1)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 152.0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1038.32.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 625.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 44.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 550.29.0)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 38.0.0)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 751.29.0)
How can I get the Cocoa version ?
From the 4.5 changelog:
Added support for Qt to use Cocoa as
its backend instead of Carbon. This is
primarily for 64-bit applications, but
is also available for 32-bit
frameworks as well. 32-bit is still
Carbon by default. Passing a 64-bit
architecture or -cocoa on the
command-line will build Qt against
Cocoa. Using Cocoa requires Mac OS X
10.5 (or higher) and cannot be used with the -static nor -no-frameworks
option. The define QT_MAC_USE_COCOA is
available when Qt is built against
Cocoa.

Resources